Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 225 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.017/1.017, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 70.86 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2246, allocations: 89.17 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02201/0.2466, allocations: 14.58 MB / 0.7426 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.2656, allocations: 9.789 MB / 0.7521 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.2677, allocations: 91.19 kB / 0.7522 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.2733, allocations: 1.761 MB / 0.754 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00691/0.2802, allocations: 1.59 MB / 0.7555 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.2832, allocations: 0.7562 MB / 0.7562 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.2882, allocations: 2.523 MB / 0.7587 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002765/0.291, allocations: 1.199 MB / 0.7599 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.479/0.77, allocations: 1.211 MB / 0.7611 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.7727, allocations: 1.131 MB / 0.7622 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003479/0.773, allocations: 154.7 kB / 0.7623 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.7748, allocations: 0.8003 MB / 0.7631 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.7754, allocations: 0.6133 MB / 0.7637 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.7764, allocations: 0.9234 MB / 0.7646 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004586/0.781, allocations: 2.715 MB / 0.7673 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.781, allocations: 0 / 0.7673 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.781, allocations: 2.094 kB / 0.7673 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.275e-05/0.7811, allocations: 0 / 0.7673 GB, free: 10.89 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004284/0.7853, allocations: 2.097 MB / 0.7693 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7854, allocations: 9.625 kB / 0.7693 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/0.7856, allocations: 198.8 kB / 0.7695 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.7968, allocations: 2.082 MB / 0.7715 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.8009, allocations: 1.185 MB / 0.7727 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.801, allocations: 92.17 kB / 0.7728 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004334/0.8014, allocations: 124.3 kB / 0.7729 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006754/0.8082, allocations: 2.636 MB / 0.7755 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/0.8082, allocations: 7.828 kB / 0.7755 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.8084, allocations: 52.22 kB / 0.7755 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006321/0.809, allocations: 182.3 kB / 0.7757 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008359/0.8174, allocations: 2.79 MB / 0.7784 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.8334, allocations: 10.32 MB / 0.7885 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/0.8396, allocations: 2.205 MB / 0.7907 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.8424, allocations: 1.191 MB / 0.7918 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.8425, allocations: 17.59 kB / 0.7918 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.8425, allocations: 47.67 kB / 0.7919 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 4.218e-06/0.8425, allocations: 0.75 kB / 0.7919 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.04059/0.8831, allocations: 11.97 MB / 0.8036 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.8832, allocations: 66.16 kB / 0.8036 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.885, allocations: 0.9726 MB / 0.8046 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.8851, allocations: 47.2 kB / 0.8046 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/0.8858, allocations: 0.7467 MB / 0.8054 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/0.8863, allocations: 480.2 kB / 0.8058 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004908/0.8868, allocations: 273.4 kB / 0.8061 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.887, allocations: 365 kB / 0.8064 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/0.8902, allocations: 1.293 MB / 0.8077 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.8935, allocations: 1.632 MB / 0.8093 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.8998, allocations: 2.998 MB / 0.8122 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.8998, allocations: 5.594 kB / 0.8122 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01027/0.9101, allocations: 4.243 MB / 0.8164 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.9101, allocations: 12.19 kB / 0.8164 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.9101, allocations: 8.281 kB / 0.8164 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/0.9143, allocations: 1.256 MB / 0.8176 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/0.9165, allocations: 451 kB / 0.818 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/0.9458, allocations: 24.92 MB / 0.8424 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.9485, allocations: 295.5 kB / 0.8427 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.9487, allocations: 67.97 kB / 0.8427 GB, free: 11.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (4,8,81.2%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001162/0.9499, allocations: 443.6 kB / 0.8431 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/0.9503, allocations: 163 kB / 0.8433 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.9612, allocations: 4.237 MB / 0.8474 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.9613, allocations: 16.84 kB / 0.8474 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.9613, allocations: 16 kB / 0.8475 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.9613, allocations: 11.44 kB / 0.8475 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.9766, allocations: 6.425 MB / 0.8537 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.9766, allocations: 4 kB / 0.8538 GB, free: 192 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.9783, allocations: 377 kB / 0.8541 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003543/0.9819, allocations: 1.11 MB / 0.8552 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.982, allocations: 47.95 kB / 0.8552 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02616/1.008, allocations: 23.77 MB / 0.8785 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.008, allocations: 2.906 kB / 0.8785 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.019, allocations: 3.994 MB / 0.8824 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.02, allocations: 362.8 kB / 0.8827 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/1.02, allocations: 27.56 kB / 0.8827 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/1.022, allocations: 295.6 kB / 0.883 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/1.023, allocations: 138.2 kB / 0.8831 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.023, allocations: 47.97 kB / 0.8832 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001075/1.024, allocations: 0.6483 MB / 0.8838 GB, free: 15.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.024, allocations: 4 kB / 0.8838 GB, free: 15.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002405/1.026, allocations: 0.5312 MB / 0.8843 GB, free: 15.45 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/1.037, allocations: 4.583 MB / 0.8888 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.049, allocations: 4.905 MB / 0.8936 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.049, allocations: 0 / 0.8936 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007319/1.056, allocations: 3.38 MB / 0.8969 GB, free: 2.285 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.059, allocations: 0.5151 MB / 0.8974 GB, free: 1.805 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/1.105, allocations: 18.48 MB / 0.9155 GB, free: 15 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/1.107, allocations: 1.479 MB / 0.9169 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001864/1.109, allocations: 417 kB / 0.9173 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.111, allocations: 0.6164 MB / 0.9179 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of SimCode: time 1.533e-06/1.111, allocations: 0 / 0.9179 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/1.276, allocations: 49.51 MB / 0.9662 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.15/22.42, allocations: 10.11 kB / 0.9663 GB, free: 11.6 MB / 0.7481 GB " [Timeout remaining time 637] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.54356857482344] Failed to read output from testmodel.py, exit status != 0: 22.584354769904166 22.608232721 21.822678623 Calling exit ...