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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 293 MB / 309 MB, free: 4.785 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.001059/0.001059, allocations: 179.5 kB / 378.7 MB, free: 1.004 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.527/1.527, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0009249/0.000925, allocations: 94.19 kB / 0.7527 GB, free: 62.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3196, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7853/1.105, allocations: 155.1 MB / 1.142 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.105, allocations: 96.41 kB / 1.142 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03262/1.138, allocations: 13.46 MB / 1.155 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.138, allocations: 0 / 1.155 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.991e-05/1.138, allocations: 4 kB / 1.155 GB, free: 12.62 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.0008748/1.139, allocations: 495.3 kB / 1.156 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.139, allocations: 9.484 kB / 1.156 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/1.14, allocations: 81.03 kB / 1.156 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/1.14, allocations: 243.8 kB / 1.156 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.14, allocations: 8.375 kB / 1.156 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/1.14, allocations: 20.36 kB / 1.156 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/1.141, allocations: 308.2 kB / 1.156 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.141, allocations: 192 / 1.156 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/1.141, allocations: 15.94 kB / 1.156 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/1.141, allocations: 16.55 kB / 1.156 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/1.141, allocations: 269.9 kB / 1.157 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/1.143, allocations: 1.509 MB / 1.158 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/1.143, allocations: 269 kB / 1.158 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/1.144, allocations: 129.6 kB / 1.158 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/1.144, allocations: 8 kB / 1.158 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/1.144, allocations: 38.56 kB / 1.158 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/1.144, allocations: 0 / 1.158 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0007012/1.144, allocations: 358.7 kB / 1.159 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.144, allocations: 81.11 kB / 1.159 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.145, allocations: 166.7 kB / 1.159 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.145, allocations: 29.7 kB / 1.159 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/1.145, allocations: 140 kB / 1.159 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/1.145, allocations: 55.2 kB / 1.159 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/1.145, allocations: 4 kB / 1.159 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/1.145, allocations: 330.8 kB / 1.16 GB, free: 8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/1.145, allocations: 109.1 kB / 1.16 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.145, allocations: 174.2 kB / 1.16 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/1.146, allocations: 285.4 kB / 1.16 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.146, allocations: 0 / 1.16 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004662/1.146, allocations: 317.2 kB / 1.16 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/1.146, allocations: 139.2 kB / 1.161 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.146, allocations: 4.562 kB / 1.161 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.146, allocations: 0 / 1.161 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/1.146, allocations: 68.7 kB / 1.161 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.146, allocations: 4.547 kB / 1.161 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/1.147, allocations: 39.66 kB / 1.161 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/1.147, allocations: 11.98 kB / 1.161 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.147, allocations: 4.562 kB / 1.161 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004132/1.147, allocations: 245.9 kB / 1.161 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.147, allocations: 4 kB / 1.161 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/1.147, allocations: 0 / 1.161 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.147, allocations: 61.08 kB / 1.161 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.147, allocations: 5.391 kB / 1.161 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.148, allocations: 23.08 kB / 1.161 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.148, allocations: 12 kB / 1.161 GB, free: 6.453 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.000174/1.148, allocations: 228.9 kB / 1.161 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/1.148, allocations: 15.81 kB / 1.161 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/1.148, allocations: 278.9 kB / 1.162 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.148, allocations: 4 kB / 1.162 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.148, allocations: 0 / 1.162 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.148, allocations: 3.984 kB / 1.162 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.149, allocations: 0.6927 MB / 1.162 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.149, allocations: 1.188 kB / 1.162 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.15, allocations: 43.95 kB / 1.162 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.15, allocations: 4.125 kB / 1.162 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/1.15, allocations: 8 kB / 1.162 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.15, allocations: 0 / 1.162 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.15, allocations: 11.88 kB / 1.162 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/1.15, allocations: 455 kB / 1.163 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.15, allocations: 116.9 kB / 1.163 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.15, allocations: 0 / 1.163 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/1.151, allocations: 29.16 kB / 1.163 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/1.151, allocations: 19.86 kB / 1.163 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.151, allocations: 8 kB / 1.163 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.769e-05/1.151, allocations: 131.5 kB / 1.163 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 0 / 1.163 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005039/1.151, allocations: 95.78 kB / 1.163 GB, free: 4.203 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.0001651/1.152, allocations: 107.2 kB / 1.163 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006401/1.152, allocations: 395 kB / 1.164 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.152, allocations: 0 / 1.164 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.152, allocations: 123.8 kB / 1.164 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/1.153, allocations: 37.03 kB / 1.164 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.154, allocations: 0.5005 MB / 1.164 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.154, allocations: 0.7517 MB / 1.165 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000267/1.155, allocations: 78.41 kB / 1.165 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/1.155, allocations: 15.44 kB / 1.165 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/1.155, allocations: 0 / 1.165 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of Templates: time 0.006238/1.161, allocations: 2.102 MB / 1.167 GB, free: 76 kB / 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)