Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001414/0.001414, allocations: 106 kB / 16.4 MB, free: 6.504 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.001671/0.001671, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8275/0.8275, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.03 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 76.17 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004143/0.1501, allocations: 2.633 MB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.152, allocations: 1.321 MB / 0.6359 GB, free: 468 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.1521, allocations: 3.938 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.1528, allocations: 175.3 kB / 0.6361 GB, free: 288 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1532, allocations: 167.3 kB / 0.6363 GB, free: 120 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1535, allocations: 159.7 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1538, allocations: 263.1 kB / 0.6367 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.1541, allocations: 145.5 kB / 0.6368 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1542, allocations: 107.6 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1545, allocations: 123.5 kB / 0.637 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1546, allocations: 16 kB / 0.637 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.1549, allocations: 147.7 kB / 0.6372 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.155, allocations: 71.8 kB / 0.6372 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1551, allocations: 87.53 kB / 0.6373 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.1557, allocations: 295 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1557, allocations: 4 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1557, allocations: 0 / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1557, allocations: 0 / 0.6376 GB, free: 14.73 MB / 494.1 MB 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.001066/0.1568, allocations: 0.4911 MB / 0.6381 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1569, allocations: 12.03 kB / 0.6381 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.1576, allocations: 60.67 kB / 0.6382 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.158, allocations: 252.5 kB / 0.6384 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.158, allocations: 16.58 kB / 0.6384 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.1581, allocations: 12.38 kB / 0.6384 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.1588, allocations: 312.6 kB / 0.6387 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1589, allocations: 8 kB / 0.6387 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.1589, allocations: 7.984 kB / 0.6387 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.159, allocations: 28.27 kB / 0.6388 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.1597, allocations: 256.5 kB / 0.639 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1617, allocations: 1.502 MB / 0.6405 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.1624, allocations: 253.1 kB / 0.6407 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.1628, allocations: 125.6 kB / 0.6408 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1628, allocations: 7.938 kB / 0.6409 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1628, allocations: 38.56 kB / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.1628, allocations: 0 / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001067/0.1639, allocations: 340.3 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.164, allocations: 89.05 kB / 0.6413 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1642, allocations: 179.4 kB / 0.6415 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1642, allocations: 25.7 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1644, allocations: 144.2 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.1644, allocations: 51.2 kB / 0.6417 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1645, allocations: 45.7 kB / 0.6417 GB, free: 10.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1647, allocations: 326.8 kB / 0.642 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.165, allocations: 112.6 kB / 0.6421 GB, free: 9.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.1654, allocations: 161.9 kB / 0.6423 GB, free: 9.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.166, allocations: 285.6 kB / 0.6426 GB, free: 9.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.166, allocations: 0 / 0.6426 GB, free: 9.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007629/0.1668, allocations: 313.2 kB / 0.6429 GB, free: 8.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1668, allocations: 9.719 kB / 0.6429 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1668, allocations: 0 / 0.6429 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1669, allocations: 4 kB / 0.6429 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.1672, allocations: 59.88 kB / 0.6429 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.1673, allocations: 0 / 0.6429 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.1675, allocations: 35.81 kB / 0.643 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1676, allocations: 4 kB / 0.643 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000367/0.168, allocations: 200.2 kB / 0.6432 GB, free: 8.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002993/0.1683, allocations: 150.5 kB / 0.6433 GB, free: 8.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005343/0.1688, allocations: 255.5 kB / 0.6436 GB, free: 8.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.1688, allocations: 4 kB / 0.6436 GB, free: 8.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006821/0.1695, allocations: 282.9 kB / 0.6438 GB, free: 7.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1695, allocations: 4 kB / 0.6438 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1696, allocations: 7.938 kB / 0.6438 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.1696, allocations: 4.234 kB / 0.6438 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1699, allocations: 51.97 kB / 0.6439 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1699, allocations: 7.938 kB / 0.6439 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.1701, allocations: 27.81 kB / 0.6439 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1702, allocations: 8 kB / 0.6439 GB, free: 7.773 MB / 494.1 MB 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.0001435/0.1703, allocations: 192.2 kB / 0.6441 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.1704, allocations: 15.81 kB / 0.6441 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/0.1712, allocations: 278.9 kB / 0.6444 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1712, allocations: 0 / 0.6444 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1712, allocations: 0 / 0.6444 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1712, allocations: 11.92 kB / 0.6444 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1727, allocations: 0.6772 MB / 0.6451 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1727, allocations: 0 / 0.6451 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.1731, allocations: 43.95 kB / 0.6451 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1731, allocations: 4 kB / 0.6451 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1731, allocations: 7.938 kB / 0.6451 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.1731, allocations: 7.938 kB / 0.6451 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1732, allocations: 0 / 0.6451 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.1739, allocations: 448.5 kB / 0.6456 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.174, allocations: 112.8 kB / 0.6457 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.1741, allocations: 15.88 kB / 0.6457 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.1744, allocations: 19.97 kB / 0.6457 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.1745, allocations: 19.92 kB / 0.6457 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1746, allocations: 4 kB / 0.6457 GB, free: 5.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1747, allocations: 127.2 kB / 0.6458 GB, free: 5.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1747, allocations: 0 / 0.6458 GB, free: 5.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007637/0.1755, allocations: 83.84 kB / 0.6459 GB, free: 5.598 MB / 494.1 MB 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.0001486/0.1756, allocations: 107.2 kB / 0.646 GB, free: 5.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009798/0.1766, allocations: 367.5 kB / 0.6464 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1767, allocations: 0 / 0.6464 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1769, allocations: 125 kB / 0.6465 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1774, allocations: 37.81 kB / 0.6465 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.1781, allocations: 442.3 kB / 0.647 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1784, allocations: 0.748 MB / 0.6477 GB, free: 3.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.1786, allocations: 73.47 kB / 0.6478 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1787, allocations: 23.38 kB / 0.6478 GB, free: 3.621 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1787, allocations: 0 / 0.6478 GB, free: 3.621 MB / 494.1 MB Notification: Performance of Templates: time 0.006848/0.1856, allocations: 2.333 MB / 0.6501 GB, free: 1.301 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)