Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001488/0.001488, allocations: 188.8 kB / 365.7 MB, free: 2.59 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.058/2.058, allocations: 205.1 MB / 0.6241 GB, free: 8.172 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.00109/0.00109, allocations: 98.91 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.405e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7849/0.785, allocations: 115.2 MB / 0.97 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/1.053, allocations: 153.8 MB / 1.12 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/1.053, allocations: 93.38 kB / 1.12 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05498/1.108, allocations: 13.36 MB / 1.133 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.108, allocations: 2.062 kB / 1.133 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.043e-05/1.108, allocations: 4 kB / 1.133 GB, free: 1.094 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001694/1.11, allocations: 471 kB / 1.134 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.238e-05/1.11, allocations: 8.031 kB / 1.134 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/1.111, allocations: 90.98 kB / 1.134 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/1.112, allocations: 251.3 kB / 1.134 GB, free: 216 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/1.112, allocations: 8 kB / 1.134 GB, free: 208 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/1.112, allocations: 8 kB / 1.134 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/1.113, allocations: 288.5 kB / 1.134 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.113, allocations: 0 / 1.134 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/1.113, allocations: 11.98 kB / 1.134 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/1.113, allocations: 23.98 kB / 1.134 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/1.114, allocations: 231.8 kB / 1.135 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/1.116, allocations: 1.497 MB / 1.136 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/1.117, allocations: 241.1 kB / 1.136 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/1.117, allocations: 117.6 kB / 1.136 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/1.117, allocations: 7.984 kB / 1.136 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.117, allocations: 38.55 kB / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 4.98e-06/1.117, allocations: 0 / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0007033/1.118, allocations: 225.5 kB / 1.137 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.118, allocations: 82.7 kB / 1.137 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/1.118, allocations: 157.8 kB / 1.137 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/1.118, allocations: 29.7 kB / 1.137 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.118, allocations: 136.1 kB / 1.137 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/1.119, allocations: 55.2 kB / 1.137 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/1.119, allocations: 4 kB / 1.137 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.119, allocations: 322.8 kB / 1.137 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/1.119, allocations: 91.95 kB / 1.138 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/1.119, allocations: 150.3 kB / 1.138 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/1.12, allocations: 121.4 kB / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.12, allocations: 0 / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007063/1.12, allocations: 275.2 kB / 1.138 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003626/1.121, allocations: 0.7079 MB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.121, allocations: 0 / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.121, allocations: 4 kB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/1.121, allocations: 55.89 kB / 1.139 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.121, allocations: 6.062 kB / 1.139 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/1.122, allocations: 35.81 kB / 1.139 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/1.122, allocations: 12 kB / 1.139 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/1.122, allocations: 4 kB / 1.139 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005539/1.122, allocations: 214.2 kB / 1.139 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.122, allocations: 4 kB / 1.139 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/1.122, allocations: 0 / 1.139 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/1.123, allocations: 51.91 kB / 1.139 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.123, allocations: 4.219 kB / 1.139 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.123, allocations: 35.81 kB / 1.139 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/1.123, allocations: 8 kB / 1.139 GB, free: 10.67 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.123, allocations: 120.9 kB / 1.139 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/1.123, allocations: 15.81 kB / 1.139 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/1.124, allocations: 244.8 kB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.124, allocations: 0 / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.124, allocations: 4 kB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.124, allocations: 0 / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/1.126, allocations: 0.6547 MB / 1.14 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.126, allocations: 0 / 1.14 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/1.126, allocations: 47.89 kB / 1.14 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.126, allocations: 8.125 kB / 1.14 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.126, allocations: 4 kB / 1.14 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.126, allocations: 1.312 kB / 1.14 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.126, allocations: 7.953 kB / 1.14 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/1.127, allocations: 482.4 kB / 1.141 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.127, allocations: 120.8 kB / 1.141 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/1.127, allocations: 6.062 kB / 1.141 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/1.128, allocations: 27.97 kB / 1.141 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/1.128, allocations: 11.94 kB / 1.141 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/1.128, allocations: 8 kB / 1.141 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001592/1.128, allocations: 131.4 kB / 1.141 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.71e-07/1.128, allocations: 3.938 kB / 1.141 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000665/1.129, allocations: 91.84 kB / 1.141 GB, free: 8.539 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/1.129, allocations: 119.1 kB / 1.141 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008938/1.13, allocations: 325.9 kB / 1.142 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.13, allocations: 0 / 1.142 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/1.13, allocations: 107.5 kB / 1.142 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/1.13, allocations: 34.59 kB / 1.142 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/1.131, allocations: 325.8 kB / 1.142 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/1.132, allocations: 0.7556 MB / 1.143 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004177/1.132, allocations: 80.44 kB / 1.143 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.132, allocations: 15.44 kB / 1.143 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of SimCode: time 3.036e-06/1.132, allocations: 0 / 1.143 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.008004/1.14, allocations: 2.272 MB / 1.145 GB, free: 4.527 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)