Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 99.73 kB / 16.4 MB, free: 5.969 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.001621/0.001622, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.398/1.398, 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.8104/0.8104, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 62.02 kB / 0.5684 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 77.94 MB / 0.6445 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004908/0.1556, allocations: 3.808 MB / 0.6483 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.158, allocations: 1.741 MB / 0.65 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1582, allocations: 4 kB / 0.65 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.1595, allocations: 0.4972 MB / 0.6505 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.1599, allocations: 218.9 kB / 0.6507 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1604, allocations: 211.5 kB / 0.6509 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.1608, allocations: 470.4 kB / 0.6513 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.1613, allocations: 361.1 kB / 0.6517 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1615, allocations: 195.3 kB / 0.6518 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.1619, allocations: 219.1 kB / 0.6521 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.1619, allocations: 28 kB / 0.6521 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.1623, allocations: 243.5 kB / 0.6523 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1625, allocations: 127.7 kB / 0.6524 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1626, allocations: 171.1 kB / 0.6526 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.1632, allocations: 0.506 MB / 0.6531 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1632, allocations: 0 / 0.6531 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1632, allocations: 3.938 kB / 0.6531 GB, free: 368 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1632, allocations: 0 / 0.6531 GB, free: 368 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008892/0.1641, allocations: 0.6427 MB / 0.6537 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1641, allocations: 12.56 kB / 0.6537 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.165, allocations: 136.6 kB / 0.6539 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1653, allocations: 295.8 kB / 0.6541 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1654, allocations: 25.02 kB / 0.6542 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.1654, allocations: 28.38 kB / 0.6542 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.166, allocations: 463.9 kB / 0.6546 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1661, allocations: 0 / 0.6546 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.1661, allocations: 23.94 kB / 0.6547 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.1662, allocations: 32.55 kB / 0.6547 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.1666, allocations: 313.9 kB / 0.655 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1686, allocations: 2.181 MB / 0.6571 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.169, allocations: 251.8 kB / 0.6574 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1692, allocations: 112.8 kB / 0.6575 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1692, allocations: 4 kB / 0.6575 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1692, allocations: 30.56 kB / 0.6575 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1692, allocations: 0 / 0.6575 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005648/0.1698, allocations: 307.6 kB / 0.6578 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1699, allocations: 51.41 kB / 0.6578 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1701, allocations: 274.6 kB / 0.6581 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1702, allocations: 29.64 kB / 0.6581 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1703, allocations: 208.3 kB / 0.6583 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1703, allocations: 55.53 kB / 0.6584 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.1704, allocations: 49.89 kB / 0.6584 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1706, allocations: 334.8 kB / 0.6588 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.1707, allocations: 56.44 kB / 0.6588 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1708, allocations: 149.4 kB / 0.659 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1711, allocations: 217.8 kB / 0.6592 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1711, allocations: 0 / 0.6592 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004012/0.1715, allocations: 262.3 kB / 0.6594 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1715, allocations: 12.02 kB / 0.6594 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1715, allocations: 7.938 kB / 0.6594 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.1717, allocations: 28.84 kB / 0.6595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1719, allocations: 47.92 kB / 0.6595 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.173, allocations: 1.422 MB / 0.6609 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1731, allocations: 27.78 kB / 0.6609 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1732, allocations: 8 kB / 0.6609 GB, free: 7.656 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.1733, allocations: 173.8 kB / 0.6611 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1734, allocations: 23.86 kB / 0.6611 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.1734, allocations: 25.83 kB / 0.6611 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1734, allocations: 4 kB / 0.6611 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1734, allocations: 0 / 0.6611 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1734, allocations: 3.984 kB / 0.6611 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.1743, allocations: 0.7063 MB / 0.6618 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1744, allocations: 0 / 0.6618 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1745, allocations: 28.05 kB / 0.6619 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.1745, allocations: 32.91 kB / 0.6619 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1746, allocations: 8 kB / 0.6619 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009516/0.1755, allocations: 1.41 MB / 0.6633 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1755, allocations: 4 kB / 0.6633 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.1758, allocations: 321.2 kB / 0.6636 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.176, allocations: 116.9 kB / 0.6637 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.176, allocations: 4 kB / 0.6637 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1762, allocations: 12 kB / 0.6637 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.1762, allocations: 16.02 kB / 0.6637 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1762, allocations: 15.92 kB / 0.6637 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001687/0.1764, allocations: 194 kB / 0.6639 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1764, allocations: 0 / 0.6639 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003727/0.1768, allocations: 79.78 kB / 0.664 GB, free: 4.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001046/0.1769, allocations: 107.2 kB / 0.6641 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.1773, allocations: 277.5 kB / 0.6644 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1773, allocations: 0 / 0.6644 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1776, allocations: 182.5 kB / 0.6645 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.178, allocations: 68.94 kB / 0.6646 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1791, allocations: 0.543 MB / 0.6651 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.1796, allocations: 0.7947 MB / 0.6659 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.1797, allocations: 38.27 kB / 0.666 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1798, allocations: 23.44 kB / 0.666 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.1798, allocations: 4 kB / 0.666 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.00713/0.1869, allocations: 2.717 MB / 0.6686 GB, free: 15.39 MB / 0.5138 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)