Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001202/0.001202, allocations: 80.75 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.001505/0.001505, allocations: 181 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.9191/0.9191, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.001628/0.001628, allocations: 234.9 kB / 260.5 MB, free: 12.68 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.6775/0.6775, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0.875 kB / 462.3 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.406e-05, allocations: 3.406 kB / 462.3 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008085/0.008099, allocations: 10.35 MB / 472.7 MB, free: 8.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007917/0.01602, allocations: 6.96 MB / 479.6 MB, free: 1.297 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.01662, allocations: 80.03 kB / 479.7 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.01739, allocations: 393.7 kB / 480.1 MB, free: 0.832 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.01969, allocations: 1.723 MB / 481.8 MB, free: 15.12 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.02052, allocations: 0.6646 MB / 482.5 MB, free: 14.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.02244, allocations: 2.846 MB / 485.3 MB, free: 11.61 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009916/0.02343, allocations: 1.255 MB / 486.6 MB, free: 10.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.02499, allocations: 2.1 MB / 488.7 MB, free: 8.219 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008214/0.02581, allocations: 0.9665 MB / 489.6 MB, free: 7.254 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.02596, allocations: 156 kB / 489.8 MB, free: 7.102 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.02634, allocations: 319.6 kB / 490.1 MB, free: 6.789 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.02672, allocations: 0.6387 MB / 490.7 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004723/0.02719, allocations: 0.6429 MB / 491.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.02829, allocations: 1.539 MB / 492.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.0283, allocations: 0 / 492.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.0283, allocations: 0 / 492.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.02831, allocations: 1.312 kB / 492.9 MB, free: 3.961 MB / 442.7 MB 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.001808/0.03012, allocations: 2.001 MB / 494.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.03015, allocations: 16.69 kB / 494.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.03316, allocations: 0.8598 MB / 495.8 MB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.03425, allocations: 1.061 MB / 496.9 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.03429, allocations: 86.69 kB / 497 MB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.03446, allocations: 122.1 kB / 497.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.03603, allocations: 1.616 MB / 498.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.03606, allocations: 11.88 kB / 498.7 MB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.03617, allocations: 53.25 kB / 498.8 MB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/0.03644, allocations: 150.2 kB / 498.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.0372, allocations: 0.5697 MB / 499.5 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.0422, allocations: 5.726 MB / 0.4934 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/0.04312, allocations: 0.5877 MB / 0.4939 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.04344, allocations: 244.4 kB / 0.4942 GB, free: 6.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.04348, allocations: 17.84 kB / 0.4942 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.0435, allocations: 43.56 kB / 0.4942 GB, free: 6.453 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.805e-06/0.0435, allocations: 0.5625 kB / 0.4942 GB, free: 6.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.008252/0.05176, allocations: 3.897 MB / 0.498 GB, free: 2.613 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.05179, allocations: 64.34 kB / 0.4981 GB, free: 2.539 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.05233, allocations: 0.9029 MB / 0.499 GB, free: 1.629 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.05241, allocations: 45.7 kB / 0.499 GB, free: 1.578 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.05265, allocations: 0.5851 MB / 0.4996 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.05284, allocations: 329.1 kB / 0.4999 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.05307, allocations: 186.8 kB / 0.5001 GB, free: 484 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.05315, allocations: 345.9 kB / 0.5004 GB, free: 132 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.05342, allocations: 198.5 kB / 0.5006 GB, free: 15.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.05378, allocations: 447.3 kB / 0.501 GB, free: 15.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.05444, allocations: 0.7111 MB / 0.5017 GB, free: 14.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.05444, allocations: 4 kB / 0.5017 GB, free: 14.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001901/0.05634, allocations: 1.263 MB / 0.503 GB, free: 13.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.05636, allocations: 8 kB / 0.503 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.05637, allocations: 9.062 kB / 0.503 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.05845, allocations: 0.8621 MB / 0.5038 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.05893, allocations: 171.7 kB / 0.504 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005208/0.06414, allocations: 6.932 MB / 0.5107 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.06466, allocations: 55.97 kB / 0.5108 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.06473, allocations: 35.97 kB / 0.5108 GB, free: 4.855 MB / 474.7 MB 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 (73): * Single equations (assignments): 69 * 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,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.06505, allocations: 176.4 kB / 0.511 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.06522, allocations: 124.5 kB / 0.5111 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.06726, allocations: 1.239 MB / 0.5123 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.06726, allocations: 16.91 kB / 0.5123 GB, free: 3.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.06727, allocations: 8 kB / 0.5124 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.06728, allocations: 11.97 kB / 0.5124 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.07027, allocations: 1.98 MB / 0.5143 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.07027, allocations: 0 / 0.5143 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.07064, allocations: 103.8 kB / 0.5144 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/0.07271, allocations: 0.8497 MB / 0.5152 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.07278, allocations: 27.97 kB / 0.5153 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/0.07813, allocations: 6.936 MB / 0.522 GB, free: 8.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.07813, allocations: 4 kB / 0.522 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.08001, allocations: 1.266 MB / 0.5233 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.08035, allocations: 242.9 kB / 0.5235 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.08047, allocations: 19.98 kB / 0.5235 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.08091, allocations: 39.98 kB / 0.5236 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.08108, allocations: 84.77 kB / 0.5236 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.08114, allocations: 27.97 kB / 0.5237 GB, free: 7.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003207/0.08146, allocations: 467.6 kB / 0.5241 GB, free: 6.723 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-08/0.08146, allocations: 0 / 0.5241 GB, free: 6.723 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009865/0.08245, allocations: 484 kB / 0.5246 GB, free: 6.25 MB / 490.7 MB 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 (37): * Single equations (assignments): 33 * 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.08264, allocations: 104.4 kB / 0.5247 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.08432, allocations: 1.472 MB / 0.5261 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001394/0.08446, allocations: 20.56 kB / 0.5261 GB, free: 4.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.08555, allocations: 1.137 MB / 0.5272 GB, free: 3.414 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.08678, allocations: 0.5183 MB / 0.5277 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.09004, allocations: 2.499 MB / 0.5302 GB, free: 392 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.09036, allocations: 396.1 kB / 0.5306 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.09103, allocations: 280 kB / 0.5308 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/0.09175, allocations: 407 kB / 0.5312 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.09175, allocations: 0 / 0.5312 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03841/0.1302, allocations: 35.5 MB / 0.5659 GB, free: 12.63 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.958063932135701]