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.0015/0.001499, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002302/0.002302, allocations: 190.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.665/1.665, allocations: 251.6 MB / 0.5089 GB, free: 3.324 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.002063/0.002063, allocations: 63.91 kB / 0.6218 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6507/0.6528, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005653/0.6585, allocations: 2.695 MB / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.6615, allocations: 1.36 MB / 0.728 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.6617, allocations: 4 kB / 0.728 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.6628, allocations: 163.4 kB / 0.7281 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005283/0.6634, allocations: 155.4 kB / 0.7283 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.664, allocations: 153.6 kB / 0.7284 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.6643, allocations: 267.1 kB / 0.7287 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.6647, allocations: 157.4 kB / 0.7288 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.6649, allocations: 95.67 kB / 0.7289 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.6652, allocations: 139.5 kB / 0.729 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.6653, allocations: 12 kB / 0.7291 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.6655, allocations: 155.6 kB / 0.7292 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.6656, allocations: 63.81 kB / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.6658, allocations: 91.53 kB / 0.7294 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.6662, allocations: 301 kB / 0.7296 GB, free: 7.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.6662, allocations: 8 kB / 0.7297 GB, free: 7.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6662, allocations: 0 / 0.7297 GB, free: 7.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.6662, allocations: 3.938 kB / 0.7297 GB, free: 7.316 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.001059/0.6673, allocations: 0.4911 MB / 0.7301 GB, free: 6.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.6674, allocations: 12.03 kB / 0.7301 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.668, allocations: 72.56 kB / 0.7302 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.6683, allocations: 228 kB / 0.7304 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.6683, allocations: 12.66 kB / 0.7304 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.6684, allocations: 16.36 kB / 0.7305 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.669, allocations: 308.9 kB / 0.7308 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.669, allocations: 0 / 0.7308 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.6691, allocations: 8 kB / 0.7308 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.6691, allocations: 24.27 kB / 0.7308 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.6696, allocations: 256.6 kB / 0.731 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.6712, allocations: 1.505 MB / 0.7325 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.6718, allocations: 257.1 kB / 0.7327 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.672, allocations: 129.6 kB / 0.7329 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.6721, allocations: 8 kB / 0.7329 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.6721, allocations: 34.5 kB / 0.7329 GB, free: 3.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.6721, allocations: 0 / 0.7329 GB, free: 3.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007597/0.6729, allocations: 345.3 kB / 0.7332 GB, free: 3.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.673, allocations: 81.11 kB / 0.7333 GB, free: 3.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.6731, allocations: 179.2 kB / 0.7335 GB, free: 3.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6732, allocations: 25.7 kB / 0.7335 GB, free: 3.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6733, allocations: 144 kB / 0.7336 GB, free: 2.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.6733, allocations: 51.28 kB / 0.7337 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.6734, allocations: 49.61 kB / 0.7337 GB, free: 2.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6736, allocations: 330.8 kB / 0.7341 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.6738, allocations: 108.8 kB / 0.7342 GB, free: 2.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6741, allocations: 171.6 kB / 0.7343 GB, free: 2.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.6745, allocations: 277.6 kB / 0.7346 GB, free: 1.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6745, allocations: 0 / 0.7346 GB, free: 1.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005317/0.6751, allocations: 297.3 kB / 0.7349 GB, free: 1.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.6751, allocations: 11.98 kB / 0.7349 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6751, allocations: 4.219 kB / 0.7349 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.6752, allocations: 7.984 kB / 0.7349 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.6755, allocations: 55.89 kB / 0.735 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.6755, allocations: 4 kB / 0.735 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6757, allocations: 39.66 kB / 0.735 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.6758, allocations: 8 kB / 0.735 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002849/0.6761, allocations: 192 kB / 0.7352 GB, free: 1.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002382/0.6763, allocations: 167.6 kB / 0.7353 GB, free: 1.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003959/0.6767, allocations: 247.5 kB / 0.7356 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.6767, allocations: 0 / 0.7356 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004929/0.6772, allocations: 280.4 kB / 0.7358 GB, free: 0.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6773, allocations: 4 kB / 0.7359 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6773, allocations: 4 kB / 0.7359 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.6773, allocations: 4 kB / 0.7359 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.6775, allocations: 47.91 kB / 0.7359 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6775, allocations: 7.938 kB / 0.7359 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.6777, allocations: 40.06 kB / 0.736 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.6777, allocations: 4 kB / 0.736 GB, free: 400 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.6779, allocations: 201.1 kB / 0.7361 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.678, allocations: 15.81 kB / 0.7362 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/0.6786, allocations: 271 kB / 0.7364 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.6787, allocations: 0 / 0.7364 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.6787, allocations: 4 kB / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6787, allocations: 4 kB / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6799, allocations: 0.677 MB / 0.7371 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6799, allocations: 0 / 0.7371 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.6801, allocations: 44.08 kB / 0.7371 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.6801, allocations: 8 kB / 0.7371 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.6802, allocations: 7.938 kB / 0.7371 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.6802, allocations: 7.938 kB / 0.7372 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6802, allocations: 0 / 0.7372 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.6808, allocations: 453.8 kB / 0.7376 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6809, allocations: 105 kB / 0.7377 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.681, allocations: 11.94 kB / 0.7377 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6812, allocations: 19.97 kB / 0.7377 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.6813, allocations: 15.92 kB / 0.7377 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.6813, allocations: 8 kB / 0.7377 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001653/0.6815, allocations: 131.2 kB / 0.7379 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6815, allocations: 0 / 0.7379 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005213/0.682, allocations: 91.73 kB / 0.738 GB, free: 14.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.6822, allocations: 103.2 kB / 0.7381 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.683, allocations: 386.9 kB / 0.7384 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.683, allocations: 3.938 kB / 0.7384 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.6832, allocations: 111.9 kB / 0.7385 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.6837, allocations: 43.53 kB / 0.7386 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.6847, allocations: 0.51 MB / 0.7391 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.6851, allocations: 0.7441 MB / 0.7398 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.6854, allocations: 77.45 kB / 0.7399 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.6854, allocations: 19.44 kB / 0.7399 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.6855, allocations: 0 / 0.7399 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.006149/0.6916, allocations: 2.238 MB / 0.7421 GB, free: 9.934 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (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)