Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001383/0.001383, 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.001383/0.001383, 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.266/1.266, 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.002307/0.002307, allocations: 294.4 kB / 303 MB, free: 9.508 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.07/1.07, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 102.6 kB / 0.7248 GB, free: 40.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1224, allocations: 94.16 MB / 0.8167 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007515/0.1299, allocations: 6.226 MB / 0.8228 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.1344, allocations: 3.219 MB / 0.826 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.1346, allocations: 35.81 kB / 0.826 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.1368, allocations: 0.9361 MB / 0.8269 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008301/0.1376, allocations: 489.5 kB / 0.8274 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.1386, allocations: 0.5019 MB / 0.8279 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.1396, allocations: 1.104 MB / 0.8289 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.1403, allocations: 0.5142 MB / 0.8294 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.1408, allocations: 438.4 kB / 0.8299 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.1413, allocations: 0.4942 MB / 0.8303 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.1414, allocations: 64 kB / 0.8304 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/0.142, allocations: 0.4989 MB / 0.8309 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.1423, allocations: 291.1 kB / 0.8312 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.1426, allocations: 405.9 kB / 0.8316 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1438, allocations: 1.183 MB / 0.8327 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1438, allocations: 0 / 0.8327 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1438, allocations: 0 / 0.8327 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.1438, allocations: 0 / 0.8327 GB, free: 5.035 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001493/0.1453, allocations: 1.089 MB / 0.8338 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1453, allocations: 8.031 kB / 0.8338 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.1455, allocations: 118.7 kB / 0.8339 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.1468, allocations: 224.2 kB / 0.8341 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009222/0.1477, allocations: 0.6004 MB / 0.8347 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.1478, allocations: 45.67 kB / 0.8347 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.1479, allocations: 60.38 kB / 0.8348 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1492, allocations: 1.033 MB / 0.8358 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.1492, allocations: 11.89 kB / 0.8358 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.327e-05/0.1493, allocations: 35.98 kB / 0.8358 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.1493, allocations: 69.27 kB / 0.8359 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.1503, allocations: 0.6918 MB / 0.8366 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.1551, allocations: 5.718 MB / 0.8422 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.1559, allocations: 0.5629 MB / 0.8427 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.1566, allocations: 396.5 kB / 0.8431 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1566, allocations: 8 kB / 0.8431 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1567, allocations: 38.55 kB / 0.8431 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.1567, allocations: 4 kB / 0.8432 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.003906/0.1606, allocations: 2.003 MB / 0.8451 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1606, allocations: 55.41 kB / 0.8452 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.1611, allocations: 470.8 kB / 0.8456 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1611, allocations: 29.7 kB / 0.8456 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.1614, allocations: 404.1 kB / 0.846 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1615, allocations: 154.7 kB / 0.8462 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1616, allocations: 110.3 kB / 0.8463 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1618, allocations: 366.8 kB / 0.8466 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.1621, allocations: 237.2 kB / 0.8469 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.1626, allocations: 461 kB / 0.8473 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008822/0.1635, allocations: 0.7487 MB / 0.848 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1635, allocations: 4 kB / 0.848 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001696/0.1652, allocations: 1.027 MB / 0.849 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1652, allocations: 8 kB / 0.849 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1652, allocations: 15.88 kB / 0.8491 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009049/0.1661, allocations: 311.6 kB / 0.8493 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1664, allocations: 99.81 kB / 0.8494 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.1732, allocations: 7.478 MB / 0.8567 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.1736, allocations: 32.02 kB / 0.8568 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1736, allocations: 24 kB / 0.8568 GB, free: 10.73 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.1739, allocations: 250.7 kB / 0.857 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.174, allocations: 63.7 kB / 0.8571 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1755, allocations: 0.8844 MB / 0.858 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1755, allocations: 8 kB / 0.858 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1755, allocations: 288 / 0.858 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1755, allocations: 7.984 kB / 0.858 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.178, allocations: 1.673 MB / 0.8596 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.178, allocations: 7.938 kB / 0.8596 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1782, allocations: 39.91 kB / 0.8597 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008293/0.179, allocations: 307.3 kB / 0.86 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.1791, allocations: 8 kB / 0.86 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006783/0.1858, allocations: 7.467 MB / 0.8672 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.1858, allocations: 8.031 kB / 0.8673 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.1874, allocations: 0.9878 MB / 0.8682 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.1877, allocations: 176.7 kB / 0.8684 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.1877, allocations: 15.98 kB / 0.8684 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.188, allocations: 19.92 kB / 0.8684 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.1881, allocations: 43.88 kB / 0.8685 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1881, allocations: 12 kB / 0.8685 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003278/0.1884, allocations: 311.2 kB / 0.8688 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.1884, allocations: 0 / 0.8688 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006433/0.1891, allocations: 204 kB / 0.869 GB, free: 13.51 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.1909, allocations: 1.53 MB / 0.8705 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.1926, allocations: 1.149 MB / 0.8716 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1926, allocations: 0 / 0.8716 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.1937, allocations: 0.8419 MB / 0.8724 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.1945, allocations: 199.2 kB / 0.8726 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.202, allocations: 5.871 MB / 0.8783 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.2026, allocations: 0.9921 MB / 0.8793 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002617/0.2029, allocations: 101.2 kB / 0.8794 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.2031, allocations: 227.4 kB / 0.8796 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.2031, allocations: 0 / 0.8796 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.2556, allocations: 15.54 MB / 0.8948 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.624/9.88, allocations: 4.484 kB / 0.8948 GB, free: 2.883 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.476196571718901] Failed to read output from testmodel.py, exit status != 0: 9.963166723027825 9.97564718 9.829369414 Calling exit ...