Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.0009609/0.0009609, 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.001146/0.001146, 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 0.965/0.965, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.001662/0.001662, allocations: 253.3 kB / 260.5 MB, free: 12.7 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.6711/0.6711, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.463e-05, allocations: 3.781 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01002/0.01004, allocations: 13.01 MB / 475.3 MB, free: 5.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005947/0.01598, allocations: 3.977 MB / 479.3 MB, free: 1.621 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008867/0.01687, allocations: 123.6 kB / 479.4 MB, free: 1.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.01778, allocations: 0.5399 MB / 480 MB, free: 0.957 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.01961, allocations: 1.505 MB / 481.5 MB, free: 15.46 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.02107, allocations: 1.109 MB / 482.6 MB, free: 14.35 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.0259, allocations: 5.949 MB / 488.5 MB, free: 8.398 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.02874, allocations: 3.398 MB / 491.9 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.03177, allocations: 3.432 MB / 495.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.03433, allocations: 2.79 MB / 498.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.03473, allocations: 456 kB / 498.6 MB, free: 14.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.03544, allocations: 0.5933 MB / 499.2 MB, free: 13.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.03668, allocations: 2.214 MB / 0.4897 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.03805, allocations: 1.497 MB / 0.4911 GB, free: 9.945 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.04048, allocations: 3.876 MB / 0.4949 GB, free: 6.059 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.04048, allocations: 0 / 0.4949 GB, free: 6.059 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04048, allocations: 4.719 kB / 0.4949 GB, free: 6.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.04051, allocations: 0 / 0.4949 GB, free: 6.055 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003289/0.0438, allocations: 3.597 MB / 0.4984 GB, free: 2.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.04383, allocations: 13.25 kB / 0.4984 GB, free: 2.418 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.04629, allocations: 1.098 MB / 0.4995 GB, free: 1.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.04805, allocations: 1.768 MB / 0.5012 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.04816, allocations: 247.3 kB / 0.5015 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.04848, allocations: 315.9 kB / 0.5018 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.05146, allocations: 3.221 MB / 0.5049 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.05151, allocations: 16.61 kB / 0.5049 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.05172, allocations: 143.9 kB / 0.5051 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002931/0.05202, allocations: 415.6 kB / 0.5055 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.05349, allocations: 1.194 MB / 0.5066 GB, free: 9.676 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.06351, allocations: 14.28 MB / 0.5206 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.06399, allocations: 392.6 kB / 0.5209 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.06443, allocations: 408.1 kB / 0.5213 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.06449, allocations: 17 kB / 0.5214 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.06452, allocations: 48.2 kB / 0.5214 GB, free: 10.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 2.044e-06/0.06452, allocations: 0.5625 kB / 0.5214 GB, free: 10.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=113): time 0.009692/0.07421, allocations: 5.173 MB / 0.5265 GB, free: 5.008 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.07424, allocations: 64.41 kB / 0.5265 GB, free: 4.934 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.07488, allocations: 1.098 MB / 0.5276 GB, free: 3.824 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.07494, allocations: 45.7 kB / 0.5276 GB, free: 3.773 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.07544, allocations: 1.392 MB / 0.529 GB, free: 2.363 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.07565, allocations: 416.3 kB / 0.5294 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.07593, allocations: 279.3 kB / 0.5297 GB, free: 1.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.133e-05/0.07599, allocations: 305.1 kB / 0.5299 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.07628, allocations: 222.8 kB / 0.5302 GB, free: 1.156 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.07679, allocations: 0.7405 MB / 0.5309 GB, free: 180 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.07773, allocations: 1.128 MB / 0.532 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.07774, allocations: 8 kB / 0.532 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.00341/0.08115, allocations: 2.144 MB / 0.5341 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.08117, allocations: 12 kB / 0.5341 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.08118, allocations: 16 kB / 0.5341 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.08438, allocations: 1.362 MB / 0.5354 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.08485, allocations: 263.5 kB / 0.5357 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007368/0.09222, allocations: 6.805 MB / 0.5423 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.09269, allocations: 44 kB / 0.5424 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.09276, allocations: 56 kB / 0.5424 GB, free: 3.805 MB / 0.4948 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 (142): * Single equations (assignments): 139 * 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 {(11,13,93.4%), (6,12,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006023/0.09336, allocations: 220.1 kB / 0.5426 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.09354, allocations: 143.8 kB / 0.5428 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.09658, allocations: 1.942 MB / 0.5447 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.09659, allocations: 12 kB / 0.5447 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.0966, allocations: 15.94 kB / 0.5447 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.09661, allocations: 7.922 kB / 0.5447 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/0.1015, allocations: 3.29 MB / 0.5479 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1016, allocations: 7.938 kB / 0.5479 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.1018, allocations: 112.8 kB / 0.548 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/0.1049, allocations: 1.346 MB / 0.5494 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.105, allocations: 24 kB / 0.5494 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/0.1122, allocations: 6.82 MB / 0.556 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1122, allocations: 4 kB / 0.556 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.1152, allocations: 2.011 MB / 0.558 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.1156, allocations: 278.7 kB / 0.5583 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1157, allocations: 24 kB / 0.5583 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.116, allocations: 31.94 kB / 0.5583 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.1163, allocations: 100.8 kB / 0.5584 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.1164, allocations: 24 kB / 0.5584 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000379/0.1168, allocations: 0.5389 MB / 0.559 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 0.559 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001554/0.1183, allocations: 0.8008 MB / 0.5597 GB, free: 1.562 MB / 0.5105 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 (65): * Single equations (assignments): 62 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,90.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.1185, allocations: 112.3 kB / 0.5599 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.1212, allocations: 1.895 MB / 0.5617 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.52e-05/0.1212, allocations: 25.81 kB / 0.5617 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.123, allocations: 1.435 MB / 0.5631 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.124, allocations: 492.9 kB / 0.5636 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.1297, allocations: 5.373 MB / 0.5688 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.1304, allocations: 0.8917 MB / 0.5697 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.1307, allocations: 179.7 kB / 0.5699 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.1313, allocations: 387 kB / 0.5703 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.1313, allocations: 0 / 0.5703 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.04416/0.1754, allocations: 41.52 MB / 0.6108 GB, free: 13.82 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.112169352825731]