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.0008832/0.0008832, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009237/0.0009237, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9209/0.9209, allocations: 177.1 MB / 204.5 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.002079/0.002079, allocations: 241.5 kB / 261.3 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.7257/0.7257, allocations: 138.4 MB / 456.3 MB, free: 1.387 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.292e-06/1.292e-06, allocations: 0 / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.259e-05, allocations: 2.312 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004185/0.004198, allocations: 4.718 MB / 0.561 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.006095, allocations: 1.695 MB / 0.5626 GB, free: 9.773 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.006301, allocations: 35.69 kB / 0.5627 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.006781, allocations: 210.4 kB / 0.5629 GB, free: 9.531 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.007262, allocations: 449 kB / 0.5633 GB, free: 9.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.007706, allocations: 379.2 kB / 0.5637 GB, free: 8.719 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.008497, allocations: 1.267 MB / 0.5649 GB, free: 7.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.009, allocations: 0.5333 MB / 0.5654 GB, free: 6.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.009801, allocations: 0.6664 MB / 0.5661 GB, free: 6.242 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.01025, allocations: 0.4909 MB / 0.5665 GB, free: 5.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.935e-05/0.01032, allocations: 68 kB / 0.5666 GB, free: 5.684 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.0105, allocations: 143.7 kB / 0.5667 GB, free: 5.543 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.01069, allocations: 327.1 kB / 0.5671 GB, free: 5.223 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.0109, allocations: 311.2 kB / 0.5674 GB, free: 4.918 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.01143, allocations: 0.728 MB / 0.5681 GB, free: 4.188 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.01143, allocations: 0 / 0.5681 GB, free: 4.188 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01143, allocations: 0 / 0.5681 GB, free: 4.188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.01144, allocations: 0 / 0.5681 GB, free: 4.188 MB / 490.7 MB 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.001025/0.01246, allocations: 1.18 MB / 0.5692 GB, free: 2.969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.01249, allocations: 8.75 kB / 0.5692 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.0132, allocations: 291.8 kB / 0.5695 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.01371, allocations: 0.5277 MB / 0.57 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.01374, allocations: 49.67 kB / 0.5701 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.01381, allocations: 72.31 kB / 0.5701 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.01448, allocations: 1.029 MB / 0.5711 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.0145, allocations: 12.11 kB / 0.5712 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.01455, allocations: 28.36 kB / 0.5712 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.142e-05/0.01464, allocations: 85.2 kB / 0.5713 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.01494, allocations: 292.5 kB / 0.5715 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.01774, allocations: 5.573 MB / 0.577 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.0181, allocations: 261.5 kB / 0.5772 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.01821, allocations: 105.1 kB / 0.5773 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.01824, allocations: 12.5 kB / 0.5773 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.01826, allocations: 41.89 kB / 0.5774 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.01827, allocations: 0 / 0.5774 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001425/0.01969, allocations: 0.9083 MB / 0.5783 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.01971, allocations: 55.91 kB / 0.5783 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.02, allocations: 0.5216 MB / 0.5788 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.02003, allocations: 29.7 kB / 0.5789 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.02021, allocations: 482.4 kB / 0.5793 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.0203, allocations: 182.5 kB / 0.5795 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.02066, allocations: 136.2 kB / 0.5796 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.02079, allocations: 0.5468 MB / 0.5802 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.0209, allocations: 85.92 kB / 0.5802 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.02112, allocations: 400.6 kB / 0.5806 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.02151, allocations: 0.5349 MB / 0.5811 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02151, allocations: 0 / 0.5811 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007305/0.02224, allocations: 0.6754 MB / 0.5818 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.02225, allocations: 8 kB / 0.5818 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.02227, allocations: 15.98 kB / 0.5818 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000664/0.02293, allocations: 294.5 kB / 0.5821 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.02316, allocations: 111.8 kB / 0.5822 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.02659, allocations: 7.475 MB / 0.5895 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.02681, allocations: 20.06 kB / 0.5895 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.02683, allocations: 28 kB / 0.5896 GB, free: 12.82 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.0001338/0.02697, allocations: 200.4 kB / 0.5898 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.02704, allocations: 83.56 kB / 0.5898 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.02762, allocations: 0.4907 MB / 0.5903 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.02762, allocations: 8 kB / 0.5903 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02763, allocations: 7.938 kB / 0.5903 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.02763, allocations: 3.984 kB / 0.5903 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.02865, allocations: 1.01 MB / 0.5913 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02865, allocations: 8.031 kB / 0.5913 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.02876, allocations: 44.05 kB / 0.5914 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006139/0.02938, allocations: 298.6 kB / 0.5917 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.0294, allocations: 12 kB / 0.5917 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.03274, allocations: 7.456 MB / 0.5989 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.03274, allocations: 7.984 kB / 0.599 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.03339, allocations: 0.6778 MB / 0.5996 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.03351, allocations: 99.52 kB / 0.5997 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.03356, allocations: 12 kB / 0.5997 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.03372, allocations: 12 kB / 0.5997 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.03378, allocations: 51.78 kB / 0.5998 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.0338, allocations: 12.14 kB / 0.5998 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001569/0.03395, allocations: 318.7 kB / 0.6001 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03395, allocations: 0 / 0.6001 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004638/0.03442, allocations: 220 kB / 0.6003 GB, free: 1.176 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.0003258/0.03474, allocations: 115.2 kB / 0.6004 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1506/0.1853, allocations: 1.133 MB / 0.6015 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.1853, allocations: 0 / 0.6015 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006876/0.186, allocations: 0.9463 MB / 0.6024 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.1867, allocations: 195.1 kB / 0.6026 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1881, allocations: 1.263 MB / 0.6039 GB, free: 90 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.1882, allocations: 211.2 kB / 0.6041 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.1884, allocations: 76.39 kB / 0.6041 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.1887, allocations: 245.5 kB / 0.6044 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of SimCode: time 9.61e-07/0.1887, allocations: 0 / 0.6044 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.01383/0.2025, allocations: 12.33 MB / 0.6164 GB, free: 88.95 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: 3.86504519963637]