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.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.0008484/0.0008484, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0008614/0.0008614, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9228/0.9228, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001686/0.001686, allocations: 247.5 kB / 261.3 MB, free: 12.65 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.6986/0.6986, allocations: 138.4 MB / 456.3 MB, free: 30.06 MB / 410.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.5564 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.322e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004321/0.004334, allocations: 4.79 MB / 0.561 GB, free: 11.06 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.006163, allocations: 1.726 MB / 0.5627 GB, free: 9.328 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.006361, allocations: 35.69 kB / 0.5628 GB, free: 9.293 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.006823, allocations: 210.4 kB / 0.563 GB, free: 9.086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.007291, allocations: 449.1 kB / 0.5634 GB, free: 8.645 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.007719, allocations: 399.1 kB / 0.5638 GB, free: 8.254 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.008492, allocations: 1.287 MB / 0.565 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.009208, allocations: 0.5295 MB / 0.5655 GB, free: 6.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.009696, allocations: 0.6703 MB / 0.5662 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.01013, allocations: 498.6 kB / 0.5667 GB, free: 5.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.01019, allocations: 64 kB / 0.5667 GB, free: 5.207 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.01036, allocations: 143.7 kB / 0.5669 GB, free: 5.066 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.01055, allocations: 335 kB / 0.5672 GB, free: 4.738 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.01075, allocations: 303.3 kB / 0.5675 GB, free: 4.441 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.01128, allocations: 0.7396 MB / 0.5682 GB, free: 3.699 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01128, allocations: 0 / 0.5682 GB, free: 3.699 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01128, allocations: 4 kB / 0.5682 GB, free: 3.695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.01129, allocations: 0 / 0.5682 GB, free: 3.695 MB / 490.7 MB 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.001002/0.01229, allocations: 1.184 MB / 0.5694 GB, free: 2.473 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.01232, allocations: 12.75 kB / 0.5694 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006931/0.01301, allocations: 287.8 kB / 0.5696 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.01352, allocations: 0.5329 MB / 0.5702 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.01355, allocations: 49.67 kB / 0.5702 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.01362, allocations: 68.33 kB / 0.5703 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.01427, allocations: 1.037 MB / 0.5713 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.01429, allocations: 4.188 kB / 0.5713 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.01433, allocations: 32.36 kB / 0.5713 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-05/0.01442, allocations: 89.19 kB / 0.5714 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.01473, allocations: 296.5 kB / 0.5717 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.01753, allocations: 5.569 MB / 0.5771 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.01788, allocations: 261.3 kB / 0.5774 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.018, allocations: 121.1 kB / 0.5775 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.01803, allocations: 8.5 kB / 0.5775 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.01805, allocations: 45.83 kB / 0.5775 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.01805, allocations: 3.938 kB / 0.5775 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001404/0.01945, allocations: 0.8813 MB / 0.5784 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.01948, allocations: 63.89 kB / 0.5785 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.01977, allocations: 0.5371 MB / 0.579 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.01979, allocations: 33.7 kB / 0.579 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.02022, allocations: 478.5 kB / 0.5795 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.02031, allocations: 182.5 kB / 0.5797 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.02042, allocations: 132.2 kB / 0.5798 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.02055, allocations: 0.5429 MB / 0.5803 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.02065, allocations: 89.92 kB / 0.5804 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.02088, allocations: 405.4 kB / 0.5808 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.02125, allocations: 0.5389 MB / 0.5813 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02126, allocations: 4 kB / 0.5813 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007147/0.02197, allocations: 0.6787 MB / 0.582 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.02199, allocations: 8.625 kB / 0.582 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.022, allocations: 4 kB / 0.582 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.02265, allocations: 294.4 kB / 0.5823 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.02288, allocations: 119.8 kB / 0.5824 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.02629, allocations: 7.472 MB / 0.5897 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.02651, allocations: 20 kB / 0.5897 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.02653, allocations: 24 kB / 0.5897 GB, free: 12.32 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 (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.0001363/0.02667, allocations: 204.3 kB / 0.5899 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.02675, allocations: 91.55 kB / 0.59 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.02731, allocations: 498.6 kB / 0.5905 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02731, allocations: 8 kB / 0.5905 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.02732, allocations: 7.938 kB / 0.5905 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02732, allocations: 3.984 kB / 0.5905 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.02833, allocations: 1.018 MB / 0.5915 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02833, allocations: 0 / 0.5915 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.02845, allocations: 43.92 kB / 0.5915 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/0.02905, allocations: 298.5 kB / 0.5918 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.02906, allocations: 8 kB / 0.5918 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.03221, allocations: 7.466 MB / 0.5991 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.03221, allocations: 8.062 kB / 0.5991 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.0328, allocations: 0.6777 MB / 0.5998 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.03292, allocations: 95.53 kB / 0.5999 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.03296, allocations: 8 kB / 0.5999 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.03312, allocations: 20.12 kB / 0.5999 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.03317, allocations: 51.78 kB / 0.6 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.03319, allocations: 12 kB / 0.6 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002835/0.03347, allocations: 326.7 kB / 0.6003 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.03347, allocations: 0 / 0.6003 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004324/0.03391, allocations: 228 kB / 0.6005 GB, free: 0.6367 MB / 0.5105 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 9.375e-05/0.034, allocations: 109.8 kB / 0.6006 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.03482, allocations: 1.146 MB / 0.6017 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.03483, allocations: 0 / 0.6017 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005533/0.03538, allocations: 0.9503 MB / 0.6026 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.03593, allocations: 207.9 kB / 0.6028 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.03723, allocations: 1.263 MB / 0.6041 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.03736, allocations: 219.2 kB / 0.6043 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000163/0.03752, allocations: 73.56 kB / 0.6044 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.03781, allocations: 250 kB / 0.6046 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.03781, allocations: 0 / 0.6046 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.0131/0.0509, allocations: 12.33 MB / 0.6166 GB, free: 144 kB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.692539155948907]