Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001805/0.001805, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.001997/0.001997, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003371/0.003371, allocations: 242 kB / 259.8 MB, free: 12.87 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 1.18/1.18, allocations: 138.4 MB / 454.7 MB, free: 1.516 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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.997e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.0104/0.01043, allocations: 6.777 MB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006108/0.01654, allocations: 3.11 MB / 0.564 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.01704, allocations: 35.69 kB / 0.564 GB, free: 6.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.01988, allocations: 0.9763 MB / 0.565 GB, free: 5.949 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.02127, allocations: 0.528 MB / 0.5655 GB, free: 5.418 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.0224, allocations: 434.8 kB / 0.5659 GB, free: 4.992 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.0241, allocations: 1.263 MB / 0.5671 GB, free: 3.723 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/0.02503, allocations: 0.5334 MB / 0.5677 GB, free: 3.184 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.02606, allocations: 0.6546 MB / 0.5683 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.02693, allocations: 486.7 kB / 0.5688 GB, free: 2.051 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.02705, allocations: 64 kB / 0.5688 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007395/0.02779, allocations: 355.1 kB / 0.5692 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.02817, allocations: 331 kB / 0.5695 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.0286, allocations: 319.2 kB / 0.5698 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.03033, allocations: 1.254 MB / 0.571 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.03033, allocations: 0 / 0.571 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.03033, allocations: 0 / 0.571 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.03035, allocations: 0 / 0.571 GB, free: 15.74 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.002253/0.0326, allocations: 1.258 MB / 0.5722 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.03264, allocations: 12.75 kB / 0.5722 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.03438, allocations: 339.7 kB / 0.5726 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.03551, allocations: 0.5446 MB / 0.5731 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.03557, allocations: 49.67 kB / 0.5731 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.03571, allocations: 76.36 kB / 0.5732 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.03734, allocations: 1.146 MB / 0.5743 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.03737, allocations: 192 / 0.5743 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.03745, allocations: 40.3 kB / 0.5744 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.03763, allocations: 89.19 kB / 0.5745 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/0.03852, allocations: 416.6 kB / 0.5749 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/0.045, allocations: 5.908 MB / 0.5806 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/0.04583, allocations: 310.4 kB / 0.5809 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.04614, allocations: 153.1 kB / 0.5811 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.04619, allocations: 8.5 kB / 0.5811 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.04623, allocations: 45.83 kB / 0.5811 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.04623, allocations: 0 / 0.5811 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.003478/0.04971, allocations: 1.146 MB / 0.5822 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.04984, allocations: 59.91 kB / 0.5823 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007543/0.05059, allocations: 0.6274 MB / 0.5829 GB, free: 3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.05064, allocations: 33.7 kB / 0.5829 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.05103, allocations: 490.6 kB / 0.5834 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.05121, allocations: 186.5 kB / 0.5836 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.05145, allocations: 140.2 kB / 0.5837 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003448/0.05179, allocations: 0.5704 MB / 0.5843 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.05211, allocations: 149.9 kB / 0.5844 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.05272, allocations: 468.7 kB / 0.5849 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.0537, allocations: 0.6443 MB / 0.5855 GB, free: 48 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.0537, allocations: 4 kB / 0.5855 GB, free: 44 kB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001739/0.05544, allocations: 0.8156 MB / 0.5863 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.05546, allocations: 8 kB / 0.5863 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.05548, allocations: 8 kB / 0.5863 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.05699, allocations: 338.8 kB / 0.5866 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.05752, allocations: 131.7 kB / 0.5868 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/0.06539, allocations: 7.778 MB / 0.5944 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.06602, allocations: 39.97 kB / 0.5944 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.06608, allocations: 36 kB / 0.5944 GB, free: 6.371 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.0003549/0.06643, allocations: 232.2 kB / 0.5947 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.06659, allocations: 91.59 kB / 0.5947 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.06804, allocations: 0.5844 MB / 0.5953 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.06805, allocations: 11.98 kB / 0.5953 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.06806, allocations: 4 kB / 0.5953 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.06806, allocations: 0 / 0.5953 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.07079, allocations: 1.303 MB / 0.5966 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.07079, allocations: 4.188 kB / 0.5966 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.07109, allocations: 67.88 kB / 0.5967 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.07247, allocations: 310.5 kB / 0.597 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.07251, allocations: 11.98 kB / 0.597 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1899/0.2624, allocations: 7.772 MB / 0.6046 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2624, allocations: 3.438 kB / 0.6046 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.2636, allocations: 0.7794 MB / 0.6053 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.2639, allocations: 106.3 kB / 0.6054 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.264, allocations: 16.98 kB / 0.6054 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.2644, allocations: 26.02 kB / 0.6055 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2645, allocations: 52.77 kB / 0.6055 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2645, allocations: 14.31 kB / 0.6055 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003359/0.2648, allocations: 397.3 kB / 0.6059 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2648, allocations: 2.812 kB / 0.6059 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007689/0.2656, allocations: 222.9 kB / 0.6061 GB, free: 93.44 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.0001302/0.2657, allocations: 111.6 kB / 0.6062 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.2673, allocations: 1.258 MB / 0.6075 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2673, allocations: 1.25 kB / 0.6075 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.2682, allocations: 0.9983 MB / 0.6084 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.2691, allocations: 202.6 kB / 0.6086 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2708, allocations: 1.274 MB / 0.6099 GB, free: 91.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2711, allocations: 404.3 kB / 0.6103 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.2714, allocations: 95.58 kB / 0.6104 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.2715, allocations: 38.22 kB / 0.6104 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.2715, allocations: 0 / 0.6104 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.01933/0.2908, allocations: 11.45 MB / 0.6216 GB, free: 90.24 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.499095246079378]