Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001272/0.001272, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001449/0.001449, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002237/0.002237, allocations: 228.7 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6902/0.6902, allocations: 138.4 MB / 455.2 MB, free: 1.559 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.892e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.008292/0.008311, allocations: 9.839 MB / 0.5647 GB, free: 6.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006797/0.01511, allocations: 6.011 MB / 0.5706 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.01559, allocations: 83.25 kB / 0.5707 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.01633, allocations: 377.1 kB / 0.571 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.0181, allocations: 1.423 MB / 0.5724 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.01888, allocations: 0.655 MB / 0.5731 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.02056, allocations: 2.617 MB / 0.5756 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.02192, allocations: 1.192 MB / 0.5768 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02296, allocations: 1.497 MB / 0.5782 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.02383, allocations: 1.04 MB / 0.5793 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.02398, allocations: 164 kB / 0.5794 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.02438, allocations: 311.7 kB / 0.5797 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.02477, allocations: 0.666 MB / 0.5804 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.02522, allocations: 0.6546 MB / 0.581 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.02637, allocations: 1.545 MB / 0.5825 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02637, allocations: 0 / 0.5825 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.02637, allocations: 0 / 0.5825 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.02639, allocations: 0 / 0.5825 GB, free: 4.352 MB / 0.4948 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.002321/0.02871, allocations: 2.166 MB / 0.5846 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.02875, allocations: 12.75 kB / 0.5846 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.03322, allocations: 1.766 MB / 0.5864 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.03469, allocations: 1.253 MB / 0.5876 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.03473, allocations: 82.73 kB / 0.5877 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.0349, allocations: 132.3 kB / 0.5878 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.0374, allocations: 2.167 MB / 0.5899 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.03744, allocations: 11.88 kB / 0.5899 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.03755, allocations: 51.98 kB / 0.59 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003374/0.03789, allocations: 178.1 kB / 0.5901 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.03916, allocations: 0.8408 MB / 0.591 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006747/0.04591, allocations: 8.322 MB / 0.5991 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.04734, allocations: 0.8167 MB / 0.5999 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.04783, allocations: 369 kB / 0.6002 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.04788, allocations: 13 kB / 0.6003 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.04791, allocations: 54.39 kB / 0.6003 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.124e-06/0.04791, allocations: 0 / 0.6003 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.1872/0.2351, allocations: 4.85 MB / 0.605 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.2351, allocations: 66.03 kB / 0.6051 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.2358, allocations: 0.9519 MB / 0.606 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.2359, allocations: 50.05 kB / 0.6061 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.2361, allocations: 0.7854 MB / 0.6068 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.2364, allocations: 475.2 kB / 0.6073 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.2367, allocations: 262.3 kB / 0.6076 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.2367, allocations: 0.5394 MB / 0.6081 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.2373, allocations: 412.1 kB / 0.6085 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.2379, allocations: 0.7635 MB / 0.6092 GB, free: 82.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2391, allocations: 1.234 MB / 0.6104 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2391, allocations: 3.344 kB / 0.6104 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003411/0.2425, allocations: 2.324 MB / 0.6127 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2425, allocations: 10.16 kB / 0.6127 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2425, allocations: 6.344 kB / 0.6127 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/0.2458, allocations: 1.289 MB / 0.614 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.2466, allocations: 328.7 kB / 0.6143 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.2579, allocations: 26.39 MB / 0.6401 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/0.2588, allocations: 196.5 kB / 0.6402 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.2589, allocations: 60.44 kB / 0.6403 GB, free: 58.1 MB / 0.5105 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 (99): * Single equations (assignments): 86 * 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%), (3,9,100.0%), (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.0003407/0.2592, allocations: 233 kB / 0.6405 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.2594, allocations: 197.9 kB / 0.6407 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.263, allocations: 2.214 MB / 0.6429 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.263, allocations: 17.66 kB / 0.6429 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.2631, allocations: 13.03 kB / 0.6429 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2631, allocations: 5.906 kB / 0.6429 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/0.2684, allocations: 3.677 MB / 0.6465 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2684, allocations: 2.281 kB / 0.6465 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/0.2691, allocations: 269.6 kB / 0.6468 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/0.2723, allocations: 1.221 MB / 0.648 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.2724, allocations: 42.17 kB / 0.648 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009558/0.2819, allocations: 25.6 MB / 0.673 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2819, allocations: 6.938 kB / 0.673 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.2849, allocations: 2.196 MB / 0.6751 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.2853, allocations: 355.6 kB / 0.6755 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.2854, allocations: 27.53 kB / 0.6755 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.2861, allocations: 191.2 kB / 0.6757 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.2864, allocations: 138.6 kB / 0.6758 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.2864, allocations: 54.06 kB / 0.6759 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004083/0.2868, allocations: 0.5875 MB / 0.6765 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2868, allocations: 0 / 0.6765 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001321/0.2882, allocations: 0.5689 MB / 0.677 GB, free: 29.91 MB / 0.5105 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.0001962/0.2884, allocations: 137 kB / 0.6771 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.2916, allocations: 3.899 MB / 0.6809 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2916, allocations: 5.875 kB / 0.6809 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.2935, allocations: 3.253 MB / 0.6841 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.2947, allocations: 0.5341 MB / 0.6846 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.2977, allocations: 3 MB / 0.6876 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.298, allocations: 459.8 kB / 0.688 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006429/0.2987, allocations: 345.4 kB / 0.6883 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.2989, allocations: 112.4 kB / 0.6885 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/0.2989, allocations: 0 / 0.6885 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.03677/0.3357, allocations: 40.91 MB / 0.7284 GB, free: 13.91 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.696046845987439]