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.001233/0.001233, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001273/0.001273, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.767/0.767, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 66.23 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00464/0.1538, allocations: 2.629 MB / 0.6353 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.1561, allocations: 1.313 MB / 0.6366 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1564, allocations: 4 kB / 0.6366 GB, free: 488 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.1572, allocations: 179.2 kB / 0.6368 GB, free: 308 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.1577, allocations: 171.3 kB / 0.6369 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1582, allocations: 162 kB / 0.6371 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.1586, allocations: 259.1 kB / 0.6373 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.159, allocations: 145.5 kB / 0.6375 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1592, allocations: 103.7 kB / 0.6376 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.1596, allocations: 127.5 kB / 0.6377 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.1596, allocations: 16 kB / 0.6377 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.16, allocations: 147.7 kB / 0.6378 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1601, allocations: 63.81 kB / 0.6379 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1602, allocations: 99.52 kB / 0.638 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.1606, allocations: 295 kB / 0.6383 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1606, allocations: 0 / 0.6383 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1607, allocations: 0 / 0.6383 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1607, allocations: 0 / 0.6383 GB, free: 14.75 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.0009604/0.1616, allocations: 494.9 kB / 0.6387 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1617, allocations: 12.03 kB / 0.6388 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.1622, allocations: 60.67 kB / 0.6388 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1626, allocations: 250.2 kB / 0.6391 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1626, allocations: 12.59 kB / 0.6391 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1627, allocations: 16.36 kB / 0.6391 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.1632, allocations: 316.6 kB / 0.6394 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1632, allocations: 4 kB / 0.6394 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1633, allocations: 4 kB / 0.6394 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.1633, allocations: 36.23 kB / 0.6394 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.1639, allocations: 256.5 kB / 0.6397 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1656, allocations: 1.498 MB / 0.6411 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.1661, allocations: 261 kB / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1663, allocations: 129.6 kB / 0.6415 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1664, allocations: 4 kB / 0.6415 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1664, allocations: 34.56 kB / 0.6415 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1664, allocations: 0 / 0.6415 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007774/0.1672, allocations: 341.2 kB / 0.6419 GB, free: 10.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1672, allocations: 81.05 kB / 0.6419 GB, free: 10.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1674, allocations: 183.5 kB / 0.6421 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1675, allocations: 25.7 kB / 0.6421 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.1676, allocations: 140.1 kB / 0.6423 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1676, allocations: 55.2 kB / 0.6423 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.1677, allocations: 41.7 kB / 0.6424 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1678, allocations: 326.8 kB / 0.6427 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.1681, allocations: 112.6 kB / 0.6428 GB, free: 9.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1683, allocations: 171.6 kB / 0.643 GB, free: 9.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.1688, allocations: 289 kB / 0.6432 GB, free: 9.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1688, allocations: 0 / 0.6432 GB, free: 9.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005523/0.1694, allocations: 309.2 kB / 0.6435 GB, free: 8.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1694, allocations: 8 kB / 0.6435 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1694, allocations: 0 / 0.6435 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1694, allocations: 4 kB / 0.6435 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1697, allocations: 59.89 kB / 0.6436 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1697, allocations: 0 / 0.6436 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1699, allocations: 32.03 kB / 0.6436 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.17, allocations: 12 kB / 0.6436 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002611/0.1702, allocations: 192 kB / 0.6438 GB, free: 8.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002319/0.1705, allocations: 162.9 kB / 0.644 GB, free: 8.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004005/0.1709, allocations: 251.5 kB / 0.6442 GB, free: 8.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.1709, allocations: 0 / 0.6442 GB, free: 8.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005165/0.1714, allocations: 283.6 kB / 0.6445 GB, free: 7.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1714, allocations: 4.25 kB / 0.6445 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1715, allocations: 8 kB / 0.6445 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.1715, allocations: 4 kB / 0.6445 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1717, allocations: 51.91 kB / 0.6445 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1717, allocations: 7.984 kB / 0.6446 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1719, allocations: 23.83 kB / 0.6446 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1719, allocations: 8 kB / 0.6446 GB, free: 7.797 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.0001228/0.172, allocations: 192.1 kB / 0.6448 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1721, allocations: 15.81 kB / 0.6448 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.1727, allocations: 275 kB / 0.645 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1727, allocations: 3.938 kB / 0.645 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1727, allocations: 0 / 0.645 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1727, allocations: 7.938 kB / 0.6451 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.1737, allocations: 0.681 MB / 0.6457 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1738, allocations: 0 / 0.6457 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.174, allocations: 47.89 kB / 0.6458 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.174, allocations: 4 kB / 0.6458 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.174, allocations: 3.938 kB / 0.6458 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.174, allocations: 4 kB / 0.6458 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.174, allocations: 0 / 0.6458 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.1746, allocations: 450 kB / 0.6462 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1747, allocations: 116.8 kB / 0.6463 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1748, allocations: 15.92 kB / 0.6463 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.175, allocations: 23.97 kB / 0.6464 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.175, allocations: 15.92 kB / 0.6464 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1751, allocations: 8 kB / 0.6464 GB, free: 5.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1752, allocations: 127.2 kB / 0.6465 GB, free: 5.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1752, allocations: 0 / 0.6465 GB, free: 5.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.1757, allocations: 83.84 kB / 0.6466 GB, free: 5.613 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.0001228/0.1758, allocations: 109.7 kB / 0.6467 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007444/0.1766, allocations: 376.3 kB / 0.647 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1766, allocations: 0 / 0.647 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.1768, allocations: 115.9 kB / 0.6472 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.1773, allocations: 42.11 kB / 0.6472 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/0.1781, allocations: 472.3 kB / 0.6476 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1785, allocations: 0.748 MB / 0.6484 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.1786, allocations: 19.44 kB / 0.6484 GB, free: 3.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1786, allocations: 0 / 0.6484 GB, free: 3.68 MB / 494.1 MB Notification: Performance of Templates: time 0.004755/0.1833, allocations: 2.594 MB / 0.6509 GB, free: 1.094 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)