Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002301/0.002301, allocations: 293 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 180.9 MB / 0.5261 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 100.2 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1362, allocations: 94.16 MB / 0.8167 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008737/0.1449, allocations: 6.887 MB / 0.8235 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.1497, allocations: 3.106 MB / 0.8265 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.15, allocations: 27.81 kB / 0.8265 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.1523, allocations: 0.9672 MB / 0.8275 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009705/0.1533, allocations: 0.5246 MB / 0.828 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.1542, allocations: 438.3 kB / 0.8284 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1554, allocations: 1.24 MB / 0.8296 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.1561, allocations: 0.5299 MB / 0.8301 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.1566, allocations: 482.2 kB / 0.8306 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.1573, allocations: 0.5448 MB / 0.8311 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.1573, allocations: 68 kB / 0.8312 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1579, allocations: 387.2 kB / 0.8315 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.1582, allocations: 319.1 kB / 0.8318 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.1586, allocations: 457.7 kB / 0.8323 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1599, allocations: 1.218 MB / 0.8335 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1599, allocations: 4 kB / 0.8335 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1599, allocations: 0 / 0.8335 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.1599, allocations: 0 / 0.8335 GB, free: 4.273 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001867/0.1617, allocations: 1.191 MB / 0.8346 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1618, allocations: 12.03 kB / 0.8346 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.1619, allocations: 122.7 kB / 0.8348 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.1633, allocations: 244 kB / 0.835 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009767/0.1643, allocations: 0.6082 MB / 0.8356 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.1644, allocations: 49.67 kB / 0.8356 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/0.1645, allocations: 68.31 kB / 0.8357 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1659, allocations: 1.085 MB / 0.8368 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1659, allocations: 7.922 kB / 0.8368 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.166, allocations: 35.98 kB / 0.8368 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.1662, allocations: 85.27 kB / 0.8369 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1673, allocations: 0.7543 MB / 0.8376 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.1728, allocations: 5.886 MB / 0.8434 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009213/0.1737, allocations: 0.5124 MB / 0.8439 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.1741, allocations: 286 kB / 0.8441 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.1742, allocations: 4.438 kB / 0.8441 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1742, allocations: 43 kB / 0.8442 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.1742, allocations: 0 / 0.8442 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.003508/0.1777, allocations: 1.987 MB / 0.8461 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.1778, allocations: 55.84 kB / 0.8462 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.1783, allocations: 0.5666 MB / 0.8467 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.1784, allocations: 29.7 kB / 0.8468 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.1787, allocations: 440 kB / 0.8472 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1788, allocations: 166.5 kB / 0.8473 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.179, allocations: 130.6 kB / 0.8475 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1791, allocations: 378.7 kB / 0.8478 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.1795, allocations: 277.8 kB / 0.8481 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.1801, allocations: 497 kB / 0.8486 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1811, allocations: 0.8094 MB / 0.8494 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1811, allocations: 4 kB / 0.8494 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001722/0.1828, allocations: 1.087 MB / 0.8504 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1829, allocations: 10.66 kB / 0.8504 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1829, allocations: 8 kB / 0.8504 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.1836, allocations: 271.4 kB / 0.8507 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.1841, allocations: 127.8 kB / 0.8508 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.1905, allocations: 7.134 MB / 0.8578 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.1909, allocations: 39.95 kB / 0.8578 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.191, allocations: 28 kB / 0.8579 GB, free: 9.715 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.1912, allocations: 253.6 kB / 0.8581 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1913, allocations: 79.53 kB / 0.8582 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.1928, allocations: 0.873 MB / 0.859 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1928, allocations: 8 kB / 0.859 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1928, allocations: 3.938 kB / 0.859 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1928, allocations: 8 kB / 0.859 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.1954, allocations: 1.717 MB / 0.8607 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1954, allocations: 192 / 0.8607 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.1956, allocations: 71.81 kB / 0.8608 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006611/0.1963, allocations: 275.3 kB / 0.8611 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.1963, allocations: 8 kB / 0.8611 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006398/0.2027, allocations: 7.127 MB / 0.868 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2027, allocations: 0 / 0.868 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2041, allocations: 0.9722 MB / 0.869 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.2044, allocations: 196.5 kB / 0.8692 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.2045, allocations: 16 kB / 0.8692 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.2048, allocations: 35.91 kB / 0.8692 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.2049, allocations: 35.94 kB / 0.8692 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.2049, allocations: 16 kB / 0.8693 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004017/0.2053, allocations: 391.1 kB / 0.8696 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 0 / 0.8696 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006313/0.2059, allocations: 224 kB / 0.8698 GB, free: 12.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.2077, allocations: 1.55 MB / 0.8714 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.2094, allocations: 1.229 MB / 0.8726 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2094, allocations: 0 / 0.8726 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.2106, allocations: 0.8659 MB / 0.8734 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008744/0.2115, allocations: 222.9 kB / 0.8736 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/0.2197, allocations: 6.399 MB / 0.8799 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.2203, allocations: 1.009 MB / 0.8808 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.2206, allocations: 118 kB / 0.881 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.2209, allocations: 259.4 kB / 0.8812 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2209, allocations: 0 / 0.8812 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.2737, allocations: 17.65 MB / 0.8984 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.826/10.1, allocations: 11.19 kB / 0.8984 GB, free: 15.22 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.73086654767394] Failed to read output from testmodel.py, exit status != 0: 10.19470528094098 10.207284027 10.044888199 Calling exit ...