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.423/2.423, allocations: 284.8 MB / 297.3 MB, free: 6.328 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.00148/0.00148, allocations: 176.8 kB / 365.7 MB, free: 2.598 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 1.977/1.977, allocations: 205.1 MB / 0.6241 GB, free: 8.199 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.001434/0.001434, allocations: 97.83 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.498e-05/4.521e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8702, allocations: 115.3 MB / 0.97 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/1.183, allocations: 159.8 MB / 1.126 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/1.184, allocations: 94.45 kB / 1.126 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1984/1.382, allocations: 36.53 MB / 1.162 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.884e-06/1.382, allocations: 6.719 kB / 1.162 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.598e-05/1.382, allocations: 20 kB / 1.162 GB, free: 3.719 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.002739/1.385, allocations: 0.951 MB / 1.163 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.385, allocations: 8.031 kB / 1.163 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.388, allocations: 242 kB / 1.163 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/1.39, allocations: 0.5354 MB / 1.164 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/1.39, allocations: 54 kB / 1.164 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/1.39, allocations: 67.98 kB / 1.164 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/1.393, allocations: 1.115 MB / 1.165 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/1.393, allocations: 11.88 kB / 1.165 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/1.393, allocations: 32 kB / 1.165 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.393, allocations: 53.28 kB / 1.165 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/1.395, allocations: 0.7311 MB / 1.166 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009248/1.405, allocations: 5.909 MB / 1.171 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/1.406, allocations: 0.5506 MB / 1.172 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/1.407, allocations: 330.1 kB / 1.172 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.308e-05/1.407, allocations: 4.438 kB / 1.172 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.407, allocations: 39 kB / 1.172 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.936e-06/1.407, allocations: 0 / 1.172 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.003851/1.411, allocations: 1.233 MB / 1.173 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.411, allocations: 55.84 kB / 1.173 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/1.412, allocations: 487.4 kB / 1.174 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.413, allocations: 33.7 kB / 1.174 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/1.413, allocations: 399.2 kB / 1.174 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/1.413, allocations: 173.5 kB / 1.175 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/1.413, allocations: 20 kB / 1.175 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.413, allocations: 370.8 kB / 1.175 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/1.414, allocations: 261.5 kB / 1.175 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/1.415, allocations: 456.1 kB / 1.176 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/1.416, allocations: 337.7 kB / 1.176 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.416, allocations: 7.938 kB / 1.176 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003144/1.419, allocations: 1.04 MB / 1.177 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/1.419, allocations: 4 kB / 1.177 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.419, allocations: 12.73 kB / 1.177 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.421, allocations: 275.2 kB / 1.177 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/1.422, allocations: 119.8 kB / 1.177 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009672/1.431, allocations: 6.582 MB / 1.184 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.432, allocations: 35.92 kB / 1.184 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.433, allocations: 32 kB / 1.184 GB, free: 11.85 MB / 0.7917 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.0002284/1.433, allocations: 140.7 kB / 1.184 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.433, allocations: 75.3 kB / 1.184 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/1.436, allocations: 0.8766 MB / 1.185 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.436, allocations: 4 kB / 1.185 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.436, allocations: 4 kB / 1.185 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.436, allocations: 7.984 kB / 1.185 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/1.44, allocations: 1.698 MB / 1.187 GB, free: 8.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.44, allocations: 0 / 1.187 GB, free: 8.926 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/1.441, allocations: 63.89 kB / 1.187 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.442, allocations: 272.4 kB / 1.187 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/1.442, allocations: 12 kB / 1.187 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/1.452, allocations: 6.569 MB / 1.193 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.452, allocations: 4.031 kB / 1.193 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/1.455, allocations: 1.044 MB / 1.194 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/1.455, allocations: 194.5 kB / 1.195 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.456, allocations: 19.98 kB / 1.195 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/1.456, allocations: 23.97 kB / 1.195 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.456, allocations: 51.83 kB / 1.195 GB, free: 52 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/1.456, allocations: 16 kB / 1.195 GB, free: 36 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0007128/1.457, allocations: 375.3 kB / 1.195 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.11e-07/1.457, allocations: 0 / 1.195 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001173/1.458, allocations: 227.9 kB / 1.195 GB, free: 15.45 MB / 0.8073 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.0002342/1.459, allocations: 123.2 kB / 1.195 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003193/1.462, allocations: 1.236 MB / 1.197 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.462, allocations: 0 / 1.197 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.464, allocations: 0.8771 MB / 1.197 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.466, allocations: 196.4 kB / 1.198 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/1.469, allocations: 0.9719 MB / 1.199 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009175/1.47, allocations: 1.024 MB / 1.2 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008222/1.47, allocations: 120.3 kB / 1.2 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/1.471, allocations: 43.44 kB / 1.2 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.343e-06/1.471, allocations: 0 / 1.2 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.03152/1.502, allocations: 10.3 MB / 1.21 GB, free: 0.5742 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)