Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.6 MB / 307.5 MB, free: 5.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002318/0.002318, allocations: 184.2 kB / 377.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.6367 GB, free: 8.578 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008581/0.000858, allocations: 94.03 kB / 0.751 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7019/1.006, allocations: 155 MB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/1.007, allocations: 93.2 kB / 1.14 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03414/1.041, allocations: 13.45 MB / 1.153 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.305e-06/1.041, allocations: 0 / 1.153 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.636e-05/1.041, allocations: 8 kB / 1.153 GB, free: 13.44 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.000722/1.041, allocations: 494.4 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.042, allocations: 13.53 kB / 1.153 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/1.042, allocations: 82.3 kB / 1.154 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/1.042, allocations: 229.5 kB / 1.154 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.042, allocations: 11.98 kB / 1.154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/1.043, allocations: 21.59 kB / 1.154 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/1.043, allocations: 301.3 kB / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.043, allocations: 4 kB / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.043, allocations: 8 kB / 1.154 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/1.043, allocations: 16.45 kB / 1.154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/1.044, allocations: 276.8 kB / 1.154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.045, allocations: 1.508 MB / 1.156 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/1.045, allocations: 267.8 kB / 1.156 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/1.045, allocations: 0 / 1.156 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/1.045, allocations: 34.56 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.133e-06/1.045, allocations: 4 kB / 1.156 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0006831/1.046, allocations: 358 kB / 1.157 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/1.046, allocations: 82.73 kB / 1.157 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/1.046, allocations: 158.3 kB / 1.157 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.046, allocations: 25.7 kB / 1.157 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/1.046, allocations: 149.8 kB / 1.157 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/1.046, allocations: 47.48 kB / 1.157 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/1.046, allocations: 8 kB / 1.157 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/1.047, allocations: 331.2 kB / 1.157 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/1.047, allocations: 107 kB / 1.157 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/1.047, allocations: 166.7 kB / 1.158 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.047, allocations: 130.2 kB / 1.158 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.047, allocations: 0 / 1.158 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004697/1.048, allocations: 316.7 kB / 1.158 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.048, allocations: 0.7054 MB / 1.159 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.048, allocations: 0.8594 kB / 1.159 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.048, allocations: 7.953 kB / 1.159 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.048, allocations: 57.34 kB / 1.159 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.048, allocations: 4 kB / 1.159 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/1.048, allocations: 44.09 kB / 1.159 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/1.048, allocations: 12.94 kB / 1.159 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.048, allocations: 6.656 kB / 1.159 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003855/1.049, allocations: 243.5 kB / 1.159 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/1.049, allocations: 3.938 kB / 1.159 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/1.049, allocations: 4.656 kB / 1.159 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/1.049, allocations: 54.34 kB / 1.159 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/1.049, allocations: 5.172 kB / 1.159 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/1.049, allocations: 29.89 kB / 1.159 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.049, allocations: 13.84 kB / 1.159 GB, free: 7.367 MB / 0.7292 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 () * Number of clocked 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.0001254/1.049, allocations: 229.1 kB / 1.159 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/1.049, allocations: 11.91 kB / 1.159 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/1.05, allocations: 278 kB / 1.16 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.05, allocations: 4 kB / 1.16 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.05, allocations: 3.938 kB / 1.16 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.05, allocations: 3.984 kB / 1.16 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/1.051, allocations: 0.6823 MB / 1.16 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.051, allocations: 4 kB / 1.16 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.051, allocations: 47.89 kB / 1.16 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.051, allocations: 4 kB / 1.16 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/1.051, allocations: 4 kB / 1.16 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.051, allocations: 9.344 kB / 1.16 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.051, allocations: 128 / 1.16 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/1.051, allocations: 0.514 MB / 1.161 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/1.052, allocations: 110 kB / 1.161 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/1.052, allocations: 8 kB / 1.161 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.052, allocations: 23.97 kB / 1.161 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/1.052, allocations: 19.94 kB / 1.161 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.052, allocations: 4 kB / 1.161 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.806e-05/1.052, allocations: 139.4 kB / 1.161 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 1.161 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004488/1.052, allocations: 91.78 kB / 1.161 GB, free: 5.039 MB / 0.7292 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 () * Number of clocked 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.0001207/1.053, allocations: 113.9 kB / 1.161 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006323/1.053, allocations: 384.2 kB / 1.162 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.053, allocations: 4 kB / 1.162 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/1.053, allocations: 111.9 kB / 1.162 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.054, allocations: 39.38 kB / 1.162 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/1.054, allocations: 0.4925 MB / 1.162 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/1.055, allocations: 0.7634 MB / 1.163 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001942/1.055, allocations: 78.31 kB / 1.163 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/1.055, allocations: 19.38 kB / 1.163 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.055, allocations: 4 kB / 1.163 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of Templates: time 0.004253/1.059, allocations: 2.071 MB / 1.165 GB, free: 0.9297 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)