Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 184.9 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 90.61 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.844e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8847, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/1.146, allocations: 159.2 MB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/1.146, allocations: 93.34 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2/1.346, allocations: 36.38 MB / 1.155 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.114e-06/1.346, allocations: 0 / 1.155 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.734e-05/1.346, allocations: 27.94 kB / 1.155 GB, free: 8.543 MB / 0.7605 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.002588/1.349, allocations: 0.955 MB / 1.155 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.349, allocations: 8.031 kB / 1.155 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/1.351, allocations: 239.9 kB / 1.156 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.353, allocations: 0.5337 MB / 1.156 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/1.353, allocations: 20 kB / 1.156 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/1.353, allocations: 39.98 kB / 1.156 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/1.355, allocations: 0.6052 MB / 1.157 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/1.357, allocations: 1.017 MB / 1.158 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/1.357, allocations: 11.92 kB / 1.158 GB, free: 4.883 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/1.357, allocations: 4 kB / 1.158 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/1.357, allocations: 49.3 kB / 1.158 GB, free: 4.828 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/1.366, allocations: 5.759 MB / 1.164 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.367, allocations: 0.5195 MB / 1.164 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/1.368, allocations: 310.1 kB / 1.164 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/1.368, allocations: 8.375 kB / 1.164 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.368, allocations: 49.33 kB / 1.164 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 3.757e-06/1.368, allocations: 0 / 1.164 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.003516/1.372, allocations: 1.155 MB / 1.166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.372, allocations: 55.84 kB / 1.166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/1.373, allocations: 402 kB / 1.166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/1.373, allocations: 25.7 kB / 1.166 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.373, allocations: 410.9 kB / 1.166 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/1.373, allocations: 165.5 kB / 1.167 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/1.373, allocations: 0 / 1.167 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.374, allocations: 366.8 kB / 1.167 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/1.374, allocations: 253.5 kB / 1.167 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/1.375, allocations: 438.5 kB / 1.168 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/1.376, allocations: 321.9 kB / 1.168 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.376, allocations: 4 kB / 1.168 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00286/1.379, allocations: 0.9539 MB / 1.169 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.379, allocations: 9.844 kB / 1.169 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.379, allocations: 8 kB / 1.169 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/1.38, allocations: 275.1 kB / 1.169 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.381, allocations: 119.8 kB / 1.169 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008927/1.39, allocations: 6.33 MB / 1.175 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.391, allocations: 19.97 kB / 1.175 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/1.392, allocations: 28 kB / 1.175 GB, free: 1.855 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/1.392, allocations: 128.6 kB / 1.176 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.392, allocations: 72.31 kB / 1.176 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/1.394, allocations: 0.8175 MB / 1.176 GB, free: 0.8125 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.394, allocations: 8 kB / 1.176 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.394, allocations: 4 kB / 1.176 GB, free: 0.8008 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.394, allocations: 7.984 kB / 1.176 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/1.399, allocations: 1.562 MB / 1.178 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.399, allocations: 4 kB / 1.178 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/1.399, allocations: 59.89 kB / 1.178 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/1.401, allocations: 258 kB / 1.178 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/1.401, allocations: 4 kB / 1.178 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008699/1.409, allocations: 6.307 MB / 1.184 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.409, allocations: 3.938 kB / 1.184 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.412, allocations: 1.002 MB / 1.185 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/1.412, allocations: 184.3 kB / 1.186 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.413, allocations: 4 kB / 1.186 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/1.413, allocations: 23.95 kB / 1.186 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.413, allocations: 47.84 kB / 1.186 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/1.414, allocations: 12 kB / 1.186 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000511/1.414, allocations: 302.9 kB / 1.186 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.91e-07/1.414, allocations: 0 / 1.186 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00124/1.415, allocations: 204 kB / 1.186 GB, free: 6.195 MB / 0.7917 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/1.416, allocations: 107.1 kB / 1.186 GB, free: 6.082 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002991/1.419, allocations: 1.173 MB / 1.187 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.419, allocations: 4.125 kB / 1.187 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/1.421, allocations: 0.8463 MB / 1.188 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.422, allocations: 169.7 kB / 1.188 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/1.425, allocations: 0.9357 MB / 1.189 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/1.426, allocations: 1.02 MB / 1.19 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000795/1.427, allocations: 110.8 kB / 1.19 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.427, allocations: 39.44 kB / 1.19 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of SimCode: time 9.22e-07/1.427, allocations: 3.938 kB / 1.19 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of Templates: time 0.03309/1.46, allocations: 9.286 MB / 1.2 GB, free: 8.559 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)