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.000986/0.000986, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009797/0.0009797, allocations: 173 kB / 23.49 MB, free: 1.059 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.9071/0.9071, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.001615/0.001615, allocations: 237.5 kB / 260.5 MB, free: 12.9 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.7294/0.7294, allocations: 138.4 MB / 455.4 MB, free: 1.543 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.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.884e-06/1.884e-06, allocations: 3.938 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.613e-05, allocations: 4.984 kB / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00593/0.005956, allocations: 6.897 MB / 0.5618 GB, free: 9.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.009472, allocations: 3.145 MB / 0.5648 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.009803, allocations: 35.69 kB / 0.5649 GB, free: 6.738 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.01109, allocations: 0.9802 MB / 0.5658 GB, free: 5.754 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007918/0.01188, allocations: 0.5357 MB / 0.5664 GB, free: 5.215 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.01262, allocations: 446.8 kB / 0.5668 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.01367, allocations: 1.271 MB / 0.568 GB, free: 3.504 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006504/0.01432, allocations: 0.5334 MB / 0.5686 GB, free: 2.965 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.015, allocations: 0.6741 MB / 0.5692 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.01555, allocations: 486.7 kB / 0.5697 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/0.01563, allocations: 64 kB / 0.5697 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.01605, allocations: 347.1 kB / 0.5701 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.01627, allocations: 335.1 kB / 0.5704 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.0165, allocations: 315.2 kB / 0.5707 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.01731, allocations: 0.872 MB / 0.5715 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01731, allocations: 0 / 0.5715 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01731, allocations: 4 kB / 0.5715 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.01732, allocations: 0 / 0.5715 GB, free: 15.89 MB / 0.4948 GB 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.001216/0.01854, allocations: 1.223 MB / 0.5727 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.01857, allocations: 8.75 kB / 0.5727 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.01969, allocations: 343.7 kB / 0.5731 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.02028, allocations: 0.5654 MB / 0.5736 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.02031, allocations: 45.67 kB / 0.5737 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.02038, allocations: 72.36 kB / 0.5737 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.02132, allocations: 1.084 MB / 0.5748 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.02134, allocations: 4.125 kB / 0.5748 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.02139, allocations: 32.36 kB / 0.5748 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.02149, allocations: 89.19 kB / 0.5749 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.02197, allocations: 355.2 kB / 0.5753 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.0251, allocations: 5.717 MB / 0.5808 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.02558, allocations: 289.5 kB / 0.5811 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.02575, allocations: 137.1 kB / 0.5812 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.02578, allocations: 8.5 kB / 0.5813 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.02581, allocations: 45.88 kB / 0.5813 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.02581, allocations: 0 / 0.5813 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001769/0.02758, allocations: 1.08 MB / 0.5823 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.0276, allocations: 55.91 kB / 0.5824 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.02797, allocations: 0.5414 MB / 0.5829 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.02799, allocations: 29.7 kB / 0.583 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.02818, allocations: 474.5 kB / 0.5834 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/0.02828, allocations: 182.5 kB / 0.5836 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.0284, allocations: 136.2 kB / 0.5837 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02853, allocations: 0.5352 MB / 0.5842 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.0287, allocations: 117.9 kB / 0.5844 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.029, allocations: 428.7 kB / 0.5848 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.02977, allocations: 0.578 MB / 0.5853 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02977, allocations: 4 kB / 0.5853 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008914/0.03066, allocations: 0.7452 MB / 0.5861 GB, free: 156 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.03068, allocations: 8 kB / 0.5861 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.03069, allocations: 8 kB / 0.5861 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.03143, allocations: 310.8 kB / 0.5864 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.03168, allocations: 127.8 kB / 0.5865 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.03547, allocations: 7.61 MB / 0.5939 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.03571, allocations: 44.02 kB / 0.594 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.03574, allocations: 31.94 kB / 0.594 GB, free: 7.516 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.0001519/0.0359, allocations: 200.3 kB / 0.5942 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.03598, allocations: 83.62 kB / 0.5943 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.03668, allocations: 0.5493 MB / 0.5948 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.03668, allocations: 4 kB / 0.5948 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.03668, allocations: 4 kB / 0.5948 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.03669, allocations: 3.984 kB / 0.5948 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.03791, allocations: 1.173 MB / 0.596 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03791, allocations: 0 / 0.596 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.03805, allocations: 63.95 kB / 0.596 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006406/0.03869, allocations: 298.4 kB / 0.5963 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.03871, allocations: 8 kB / 0.5963 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1853/0.224, allocations: 7.594 MB / 0.6037 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.224, allocations: 2.625 kB / 0.6037 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.2249, allocations: 0.7345 MB / 0.6044 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.225, allocations: 110.7 kB / 0.6046 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.2251, allocations: 11.81 kB / 0.6046 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2253, allocations: 25.78 kB / 0.6046 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.2254, allocations: 50.03 kB / 0.6046 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2254, allocations: 16.22 kB / 0.6047 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002059/0.2256, allocations: 343.5 kB / 0.605 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2256, allocations: 1.375 kB / 0.605 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000562/0.2262, allocations: 222.7 kB / 0.6052 GB, free: 95.27 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 0.0001061/0.2263, allocations: 115.2 kB / 0.6053 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.2272, allocations: 1.19 MB / 0.6065 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2272, allocations: 0 / 0.6065 GB, free: 94.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.2277, allocations: 0.9833 MB / 0.6074 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.2283, allocations: 202.5 kB / 0.6076 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2298, allocations: 1.253 MB / 0.6088 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.23, allocations: 220.3 kB / 0.6091 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.2302, allocations: 95.47 kB / 0.6091 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.2303, allocations: 43.22 kB / 0.6092 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.2303, allocations: 0 / 0.6092 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.01508/0.2453, allocations: 11.48 MB / 0.6204 GB, free: 92.14 MB / 0.5105 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.864588704193011]