Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001255, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.418 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.663/1.663, allocations: 252 MB / 0.5102 GB, free: 4.812 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005853/0.0005855, allocations: 12 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6493, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003066/0.6524, allocations: 2.26 MB / 0.7303 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.6544, allocations: 1.283 MB / 0.7316 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.6545, allocations: 0 / 0.7316 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.6547, allocations: 23.78 kB / 0.7316 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.6551, allocations: 123.5 kB / 0.7317 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.6554, allocations: 134.5 kB / 0.7319 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.6557, allocations: 303.1 kB / 0.7322 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005348/0.6563, allocations: 286.1 kB / 0.7324 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.6565, allocations: 83.62 kB / 0.7325 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.6568, allocations: 119.6 kB / 0.7326 GB, free: 6.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.6568, allocations: 11.94 kB / 0.7326 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.657, allocations: 75.86 kB / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.6571, allocations: 55.81 kB / 0.7328 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.6571, allocations: 57.64 kB / 0.7328 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.6575, allocations: 213.4 kB / 0.733 GB, free: 6.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6575, allocations: 0 / 0.733 GB, free: 6.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6575, allocations: 0 / 0.733 GB, free: 6.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.6575, allocations: 0 / 0.733 GB, free: 6.328 MB / 0.545 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.0009797/0.6585, allocations: 474.9 kB / 0.7335 GB, free: 5.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.6586, allocations: 16.03 kB / 0.7335 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.6591, allocations: 75.59 kB / 0.7336 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.6595, allocations: 226.7 kB / 0.7338 GB, free: 5.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.6595, allocations: 12.27 kB / 0.7338 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.6596, allocations: 12 kB / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.6602, allocations: 308.6 kB / 0.7341 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.6602, allocations: 0 / 0.7341 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.6602, allocations: 8 kB / 0.7341 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.6603, allocations: 24.27 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.6608, allocations: 280.5 kB / 0.7344 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6625, allocations: 1.501 MB / 0.7359 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.663, allocations: 257.1 kB / 0.7361 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.6633, allocations: 141.6 kB / 0.7362 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.6633, allocations: 0 / 0.7362 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.6634, allocations: 34.56 kB / 0.7363 GB, free: 2.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.6634, allocations: 0 / 0.7363 GB, free: 2.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008063/0.6642, allocations: 361.3 kB / 0.7366 GB, free: 2.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.6642, allocations: 85.11 kB / 0.7367 GB, free: 2.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.6645, allocations: 168 kB / 0.7369 GB, free: 2.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.6645, allocations: 37.73 kB / 0.7369 GB, free: 2.023 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6646, allocations: 143.9 kB / 0.737 GB, free: 1.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.6647, allocations: 51.34 kB / 0.7371 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.6647, allocations: 4 kB / 0.7371 GB, free: 1.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002602/0.665, allocations: 322.8 kB / 0.7374 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.6652, allocations: 107.9 kB / 0.7375 GB, free: 1.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.6655, allocations: 171.6 kB / 0.7377 GB, free: 1.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.6658, allocations: 127.9 kB / 0.7378 GB, free: 1.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6658, allocations: 0 / 0.7378 GB, free: 1.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005506/0.6663, allocations: 324 kB / 0.7381 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.6664, allocations: 144.9 kB / 0.7382 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.6665, allocations: 3.938 kB / 0.7382 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.6665, allocations: 4 kB / 0.7382 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.6668, allocations: 63.88 kB / 0.7383 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.6668, allocations: 8 kB / 0.7383 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.667, allocations: 35.77 kB / 0.7383 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.667, allocations: 15.92 kB / 0.7384 GB, free: 468 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.6671, allocations: 4 kB / 0.7384 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000434/0.6675, allocations: 239.8 kB / 0.7386 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.6675, allocations: 0 / 0.7386 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.738e-06/0.6675, allocations: 4 kB / 0.7386 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.6677, allocations: 59.89 kB / 0.7386 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6677, allocations: 4 kB / 0.7387 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.6679, allocations: 31.98 kB / 0.7387 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.6679, allocations: 11.95 kB / 0.7387 GB, free: 112 kB / 0.545 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.0002136/0.6681, allocations: 217 kB / 0.7389 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.6682, allocations: 15.81 kB / 0.7389 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/0.6688, allocations: 282.9 kB / 0.7392 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6688, allocations: 4 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.6689, allocations: 3.984 kB / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6689, allocations: 0 / 0.7392 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.67, allocations: 0.6888 MB / 0.7399 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.67, allocations: 4 kB / 0.7399 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.6702, allocations: 51.83 kB / 0.7399 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6702, allocations: 4 kB / 0.7399 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.6702, allocations: 7.953 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6702, allocations: 4.125 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6702, allocations: 4 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.6708, allocations: 460.8 kB / 0.7404 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6709, allocations: 112.8 kB / 0.7405 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.671, allocations: 7.984 kB / 0.7405 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6711, allocations: 19.94 kB / 0.7405 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.6712, allocations: 23.97 kB / 0.7405 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6712, allocations: 4 kB / 0.7405 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001237/0.6714, allocations: 135.2 kB / 0.7407 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6714, allocations: 0 / 0.7407 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004581/0.6718, allocations: 79.84 kB / 0.7407 GB, free: 13.88 MB / 0.5606 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.0001671/0.672, allocations: 103.2 kB / 0.7408 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.6728, allocations: 388.3 kB / 0.7412 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6728, allocations: 128 / 0.7412 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.6731, allocations: 123.8 kB / 0.7413 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.6736, allocations: 38.72 kB / 0.7414 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6747, allocations: 0.4991 MB / 0.7419 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.6755, allocations: 0.7479 MB / 0.7426 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.6757, allocations: 77.45 kB / 0.7427 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.6758, allocations: 23.44 kB / 0.7427 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.6758, allocations: 0 / 0.7427 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.005507/0.6814, allocations: 2.076 MB / 0.7447 GB, free: 9.758 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) Environment - environmentSimulation: