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.707/2.707, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001489/0.001489, allocations: 179.8 kB / 371 MB, free: 10.8 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.321/2.321, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 98.08 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007695/0.0007693, allocations: 12.55 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.255, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9497/1.205, allocations: 159.9 MB / 1.135 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004289/1.205, allocations: 94.78 kB / 1.135 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1463/1.352, allocations: 36.73 MB / 1.171 GB, free: 7.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.59e-06/1.352, allocations: 4 kB / 1.171 GB, free: 7.969 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.516e-05/1.352, allocations: 27.92 kB / 1.171 GB, free: 7.941 MB / 0.698 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.002803/1.355, allocations: 1.028 MB / 1.172 GB, free: 6.914 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.355, allocations: 8.031 kB / 1.172 GB, free: 6.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/1.357, allocations: 246.6 kB / 1.172 GB, free: 6.664 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.359, allocations: 0.5372 MB / 1.172 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/1.359, allocations: 51.42 kB / 1.172 GB, free: 6.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.359, allocations: 74.22 kB / 1.172 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/1.361, allocations: 1.136 MB / 1.174 GB, free: 5.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/1.361, allocations: 0 / 1.174 GB, free: 5.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/1.361, allocations: 38.23 kB / 1.174 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/1.362, allocations: 56.91 kB / 1.174 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.364, allocations: 0.7482 MB / 1.174 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008399/1.372, allocations: 5.901 MB / 1.18 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.374, allocations: 0.5481 MB / 1.181 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/1.374, allocations: 8.422 kB / 1.181 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.374, allocations: 40.62 kB / 1.181 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.115e-06/1.374, allocations: 3.938 kB / 1.181 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.006114/1.38, allocations: 1.977 MB / 1.183 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.38, allocations: 55.84 kB / 1.183 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/1.381, allocations: 495.2 kB / 1.183 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/1.381, allocations: 36.64 kB / 1.183 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/1.381, allocations: 403.6 kB / 1.184 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/1.381, allocations: 172.2 kB / 1.184 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/1.382, allocations: 14.12 kB / 1.184 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.382, allocations: 377.5 kB / 1.184 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006615/1.382, allocations: 267.3 kB / 1.184 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/1.383, allocations: 460.8 kB / 1.185 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/1.384, allocations: 340 kB / 1.185 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/1.384, allocations: 4 kB / 1.185 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00289/1.387, allocations: 1.053 MB / 1.186 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.387, allocations: 8 kB / 1.186 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.387, allocations: 4 kB / 1.186 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/1.388, allocations: 285.5 kB / 1.186 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/1.389, allocations: 123.6 kB / 1.187 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009076/1.398, allocations: 6.691 MB / 1.193 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.4, allocations: 42.45 kB / 1.193 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/1.4, allocations: 27.58 kB / 1.193 GB, free: 2.812 MB / 0.7136 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 () * Number of clocked 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.0005749/1.4, allocations: 246 kB / 1.193 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.4, allocations: 67.25 kB / 1.193 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.403, allocations: 0.8936 MB / 1.194 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.403, allocations: 4 kB / 1.194 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.403, allocations: 4 kB / 1.194 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/1.403, allocations: 0 / 1.194 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/1.407, allocations: 1.724 MB / 1.196 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.407, allocations: 0 / 1.196 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/1.408, allocations: 67.45 kB / 1.196 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/1.409, allocations: 268.8 kB / 1.196 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/1.409, allocations: 11.12 kB / 1.196 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009016/1.418, allocations: 6.689 MB / 1.203 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.418, allocations: 3.938 kB / 1.203 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/1.421, allocations: 1.046 MB / 1.204 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/1.421, allocations: 196.2 kB / 1.204 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.421, allocations: 11.81 kB / 1.204 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/1.422, allocations: 28.53 kB / 1.204 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.422, allocations: 50.2 kB / 1.204 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/1.422, allocations: 11.94 kB / 1.204 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006549/1.423, allocations: 380.4 kB / 1.205 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.423, allocations: 0 / 1.205 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001146/1.424, allocations: 229.1 kB / 1.205 GB, free: 8.07 MB / 0.7292 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 (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.0002305/1.424, allocations: 125.7 kB / 1.205 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002978/1.427, allocations: 1.257 MB / 1.206 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.427, allocations: 0 / 1.206 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.429, allocations: 0.8943 MB / 1.207 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.431, allocations: 194.9 kB / 1.207 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/1.434, allocations: 1.575 MB / 1.209 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/1.435, allocations: 1.03 MB / 1.21 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007581/1.436, allocations: 122.1 kB / 1.21 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/1.436, allocations: 43.44 kB / 1.21 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of SimCode: time 1.163e-06/1.436, allocations: 0 / 1.21 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of Templates: time 0.02938/1.466, allocations: 10.3 MB / 1.22 GB, free: 9.051 MB / 0.7448 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)