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.001277/0.001277, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001465/0.001465, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9463/0.9463, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.001655/0.001655, allocations: 247.8 kB / 260.5 MB, free: 12.66 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.6966/0.6966, allocations: 138.5 MB / 455.5 MB, free: 1.41 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.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.653e-06/1.653e-06, allocations: 3.938 kB / 0.5556 GB, free: 216 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.874e-05, allocations: 2.312 kB / 0.5556 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01464/0.01466, allocations: 19.81 MB / 0.575 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.0278, allocations: 10.03 MB / 0.5848 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.03036, allocations: 202.4 kB / 0.585 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.03223, allocations: 0.8607 MB / 0.5858 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.03754, allocations: 2.841 MB / 0.5886 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.04078, allocations: 1.825 MB / 0.5904 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007975/0.04876, allocations: 8.907 MB / 0.5991 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3291/0.3778, allocations: 5.38 MB / 0.6043 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006533/0.3843, allocations: 5.688 MB / 0.6099 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.3879, allocations: 3.939 MB / 0.6137 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008653/0.3888, allocations: 0.71 MB / 0.6144 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3901, allocations: 0.802 MB / 0.6152 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002193/0.3923, allocations: 3.047 MB / 0.6182 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.3947, allocations: 2.369 MB / 0.6205 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.4004, allocations: 5.733 MB / 0.6261 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4004, allocations: 0.5625 kB / 0.6261 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4004, allocations: 1.156 kB / 0.6261 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.94e-05/0.4005, allocations: 0.5312 kB / 0.6261 GB, free: 66.06 MB / 0.5105 GB 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.007836/0.4083, allocations: 6.116 MB / 0.6321 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4084, allocations: 15.45 kB / 0.6321 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.4118, allocations: 1.633 MB / 0.6337 GB, free: 62.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.4149, allocations: 3.068 MB / 0.6367 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.415, allocations: 374.8 kB / 0.637 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.4155, allocations: 0.4982 MB / 0.6375 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.4199, allocations: 4.958 MB / 0.6424 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.418e-05/0.42, allocations: 32.11 kB / 0.6424 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.4204, allocations: 217.8 kB / 0.6426 GB, free: 57.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.4208, allocations: 362.4 kB / 0.6429 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.4228, allocations: 1.496 MB / 0.6444 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.436, allocations: 21.52 MB / 0.6654 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.4367, allocations: 0.7846 MB / 0.6662 GB, free: 41.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.4373, allocations: 0.6979 MB / 0.6669 GB, free: 41.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-05/0.4374, allocations: 26 kB / 0.6669 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4374, allocations: 68.02 kB / 0.667 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 4.969e-06/0.4374, allocations: 0 / 0.667 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=276): time 0.01102/0.4484, allocations: 7.763 MB / 0.6745 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4485, allocations: 80.48 kB / 0.6746 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.4494, allocations: 1.819 MB / 0.6764 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.4496, allocations: 73.7 kB / 0.6765 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.4502, allocations: 2.422 MB / 0.6788 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.4505, allocations: 1.018 MB / 0.6798 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.451, allocations: 0.5305 MB / 0.6803 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.4511, allocations: 476.8 kB / 0.6808 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.4516, allocations: 0.4937 MB / 0.6813 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/0.4523, allocations: 1.393 MB / 0.6826 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4537, allocations: 2.14 MB / 0.6847 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4537, allocations: 4 kB / 0.6847 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.004534/0.4582, allocations: 3.826 MB / 0.6885 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4583, allocations: 12 kB / 0.6885 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.4583, allocations: 16 kB / 0.6885 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/0.4631, allocations: 2.522 MB / 0.691 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.4638, allocations: 360 kB / 0.6913 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.4773, allocations: 19.51 MB / 0.7104 GB, free: 12.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4787, allocations: 80 kB / 0.7104 GB, free: 12.67 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.4788, allocations: 95.92 kB / 0.7105 GB, free: 12.58 MB / 0.5262 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.4805, allocations: 309.6 kB / 0.7108 GB, free: 12.29 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.4809, allocations: 398.1 kB / 0.7112 GB, free: 11.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004841/0.4858, allocations: 3.524 MB / 0.7146 GB, free: 8.426 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.4858, allocations: 31.94 kB / 0.7147 GB, free: 8.395 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.4858, allocations: 28 kB / 0.7147 GB, free: 8.367 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.4858, allocations: 19.94 kB / 0.7147 GB, free: 8.348 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009404/0.4952, allocations: 6.411 MB / 0.721 GB, free: 2.293 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4952, allocations: 7.984 kB / 0.721 GB, free: 2.285 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.4957, allocations: 190.1 kB / 0.7212 GB, free: 2.113 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005034/0.5007, allocations: 2.323 MB / 0.7234 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5008, allocations: 59.55 kB / 0.7235 GB, free: 15.76 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/0.5162, allocations: 19.38 MB / 0.7424 GB, free: 12.05 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5162, allocations: 8 kB / 0.7424 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.5211, allocations: 3.596 MB / 0.7459 GB, free: 8.375 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008599/0.522, allocations: 0.5898 MB / 0.7465 GB, free: 7.789 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.5222, allocations: 59.89 kB / 0.7466 GB, free: 7.73 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.5229, allocations: 59.98 kB / 0.7466 GB, free: 7.672 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/0.5233, allocations: 264.8 kB / 0.7469 GB, free: 7.422 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5234, allocations: 59.98 kB / 0.7469 GB, free: 7.363 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0008519/0.5242, allocations: 0.9787 MB / 0.7479 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8e-08/0.5242, allocations: 0 / 0.7479 GB, free: 6.477 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.00307/0.5273, allocations: 1.375 MB / 0.7492 GB, free: 5.102 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.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.0002363/0.5275, allocations: 174.5 kB / 0.7494 GB, free: 4.934 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.004461/0.532, allocations: 4.316 MB / 0.7536 GB, free: 0.5938 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.532, allocations: 4 kB / 0.7536 GB, free: 0.5898 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.5349, allocations: 3.4 MB / 0.7569 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.537, allocations: 1.015 MB / 0.7579 GB, free: 12.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5485, allocations: 8.829 MB / 0.7665 GB, free: 3.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.5498, allocations: 1.42 MB / 0.7679 GB, free: 1.809 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009339/0.5507, allocations: 346.8 kB / 0.7683 GB, free: 1.465 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.5519, allocations: 0.8609 MB / 0.7691 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/0.5519, allocations: 0 / 0.7691 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of Templates: time 0.0852/0.6371, allocations: 80.55 MB / 0.8478 GB, free: 1.473 MB / 0.6512 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.435558625962585]