Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.0009196/0.0009196, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009357/0.0009357, allocations: 173 kB / 23.36 MB, free: 1.133 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001664/0.001664, allocations: 244 kB / 260.5 MB, free: 12.71 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.7453/0.7453, allocations: 138.4 MB / 402.2 MB, free: 24 kB / 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 462.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.204e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0157/0.01572, allocations: 19.89 MB / 482.3 MB, free: 14.51 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.02943, allocations: 10.26 MB / 492.5 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.03182, allocations: 203.6 kB / 492.7 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.03367, allocations: 0.8685 MB / 493.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005385/0.03905, allocations: 2.824 MB / 496.4 MB, free: 420 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.04196, allocations: 1.872 MB / 498.3 MB, free: 14.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008107/0.05007, allocations: 8.915 MB / 0.4953 GB, free: 5.617 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006371/0.05644, allocations: 5.695 MB / 0.5009 GB, free: 15.77 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006795/0.06323, allocations: 5.696 MB / 0.5064 GB, free: 10.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.06811, allocations: 3.811 MB / 0.5102 GB, free: 6.273 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.06995, allocations: 0.707 MB / 0.5109 GB, free: 5.566 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.07152, allocations: 0.8044 MB / 0.5116 GB, free: 4.762 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.07381, allocations: 3.048 MB / 0.5146 GB, free: 1.707 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003161/0.07697, allocations: 2.367 MB / 0.5169 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.08288, allocations: 5.73 MB / 0.5225 GB, free: 9.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.08289, allocations: 4 kB / 0.5225 GB, free: 9.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.08289, allocations: 1.531 kB / 0.5225 GB, free: 9.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001921/0.08308, allocations: 0 / 0.5225 GB, free: 9.586 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.006919/0.09, allocations: 5.63 MB / 0.528 GB, free: 3.914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.09004, allocations: 8.75 kB / 0.528 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.09397, allocations: 1.509 MB / 0.5295 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.09816, allocations: 2.687 MB / 0.5321 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.09837, allocations: 370.3 kB / 0.5325 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007546/0.09912, allocations: 0.505 MB / 0.533 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.1043, allocations: 4.866 MB / 0.5377 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.1045, allocations: 27.75 kB / 0.5378 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/0.1048, allocations: 217.5 kB / 0.538 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004742/0.1053, allocations: 369.6 kB / 0.5383 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.1077, allocations: 1.305 MB / 0.5396 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.1253, allocations: 16.59 MB / 0.5558 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008965/0.1262, allocations: 0.7952 MB / 0.5566 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.1269, allocations: 0.6075 MB / 0.5572 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.319e-05/0.127, allocations: 37.98 kB / 0.5572 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.127, allocations: 64.95 kB / 0.5573 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 3.787e-06/0.127, allocations: 0 / 0.5573 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of matching and sorting (n=174): time 0.01426/0.1413, allocations: 6.576 MB / 0.5637 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1413, allocations: 69.41 kB / 0.5637 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.1426, allocations: 1.683 MB / 0.5654 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.1427, allocations: 57.7 kB / 0.5654 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.1437, allocations: 1.991 MB / 0.5674 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.144, allocations: 0.6273 MB / 0.568 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.1444, allocations: 367.6 kB / 0.5683 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.1445, allocations: 309 kB / 0.5686 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.1449, allocations: 256.2 kB / 0.5689 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.1455, allocations: 0.8249 MB / 0.5697 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1466, allocations: 1.314 MB / 0.571 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.1466, allocations: 4 kB / 0.571 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002782/0.1493, allocations: 2 MB / 0.5729 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1494, allocations: 15.94 kB / 0.5729 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.1494, allocations: 16 kB / 0.573 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/0.1523, allocations: 1.206 MB / 0.5741 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/0.1531, allocations: 371.4 kB / 0.5745 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/0.1612, allocations: 7.664 MB / 0.582 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.1623, allocations: 67.98 kB / 0.582 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.1625, allocations: 64 kB / 0.5821 GB, free: 10.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008855/0.1633, allocations: 244.1 kB / 0.5823 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.1636, allocations: 235.7 kB / 0.5826 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.166, allocations: 1.769 MB / 0.5843 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.166, allocations: 19.94 kB / 0.5843 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.1661, allocations: 16 kB / 0.5843 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.1661, allocations: 7.969 kB / 0.5843 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.1715, allocations: 3.618 MB / 0.5879 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1715, allocations: 8.031 kB / 0.5879 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.1719, allocations: 179.8 kB / 0.588 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.1745, allocations: 1.176 MB / 0.5892 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.1745, allocations: 35.94 kB / 0.5892 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007802/0.1824, allocations: 7.662 MB / 0.5967 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1824, allocations: 4 kB / 0.5967 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.1849, allocations: 1.878 MB / 0.5985 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.1856, allocations: 378 kB / 0.5989 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.1858, allocations: 32 kB / 0.5989 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.1864, allocations: 40 kB / 0.599 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.1868, allocations: 152.9 kB / 0.5991 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.1868, allocations: 40 kB / 0.5992 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006817/0.1875, allocations: 0.8508 MB / 0.6 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1875, allocations: 0 / 0.6 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002153/0.1897, allocations: 1.059 MB / 0.601 GB, free: 6.855 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.1899, allocations: 136.2 kB / 0.6012 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.1929, allocations: 2.142 MB / 0.6032 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.712e-05/0.1929, allocations: 34.19 kB / 0.6033 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.1947, allocations: 1.566 MB / 0.6048 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.1969, allocations: 0.9878 MB / 0.6058 GB, free: 2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/0.2065, allocations: 7.97 MB / 0.6136 GB, free: 9.922 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.2076, allocations: 1.242 MB / 0.6148 GB, free: 8.652 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001152/0.2087, allocations: 331.6 kB / 0.6151 GB, free: 8.355 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.2102, allocations: 0.7527 MB / 0.6158 GB, free: 7.582 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/0.2102, allocations: 0 / 0.6158 GB, free: 7.582 MB / 0.573 GB Notification: Performance of Templates: time 0.06914/0.2794, allocations: 55.66 MB / 0.6702 GB, free: 1.195 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855932809878141]