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.001144/0.001144, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.503/1.503, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 8.969 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004512/0.1601, allocations: 3.227 MB / 0.56 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1627, allocations: 1.59 MB / 0.5615 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.163, allocations: 7.938 kB / 0.5616 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1633, allocations: 59.61 kB / 0.5616 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.1639, allocations: 155.5 kB / 0.5618 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.1646, allocations: 155 kB / 0.5619 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.1651, allocations: 263.4 kB / 0.5622 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.1656, allocations: 293.1 kB / 0.5624 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1658, allocations: 139.5 kB / 0.5626 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.1662, allocations: 139.4 kB / 0.5627 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.1663, allocations: 12 kB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.1667, allocations: 115.8 kB / 0.5628 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1668, allocations: 99.72 kB / 0.5629 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.1669, allocations: 81.58 kB / 0.563 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.1674, allocations: 379.2 kB / 0.5634 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1675, allocations: 0 / 0.5634 GB, free: 4.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.2e-06/0.1675, allocations: 0 / 0.5634 GB, free: 4.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1675, allocations: 3.938 kB / 0.5634 GB, free: 4.867 MB / 430.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.001061/0.1686, allocations: 0.573 MB / 0.5639 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1686, allocations: 12.02 kB / 0.5639 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.1696, allocations: 151.5 kB / 0.5641 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.1701, allocations: 278.5 kB / 0.5643 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1701, allocations: 20.66 kB / 0.5644 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1702, allocations: 24 kB / 0.5644 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.1708, allocations: 463.6 kB / 0.5648 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1708, allocations: 0 / 0.5648 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.1708, allocations: 15.98 kB / 0.5648 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.1709, allocations: 36.41 kB / 0.5649 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.1714, allocations: 321.9 kB / 0.5652 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.1735, allocations: 2.193 MB / 0.5673 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.1739, allocations: 247.8 kB / 0.5676 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1739, allocations: 4.25 kB / 0.5676 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.174, allocations: 34.56 kB / 0.5676 GB, free: 152 kB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.174, allocations: 0 / 0.5676 GB, free: 152 kB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006311/0.1746, allocations: 319.2 kB / 0.5679 GB, free: 15.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1746, allocations: 55.41 kB / 0.568 GB, free: 15.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1749, allocations: 266.5 kB / 0.5682 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1749, allocations: 29.7 kB / 0.5682 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1751, allocations: 203.8 kB / 0.5684 GB, free: 15.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1751, allocations: 59.27 kB / 0.5685 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.1751, allocations: 0 / 0.5685 GB, free: 15.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1753, allocations: 334.8 kB / 0.5688 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.1754, allocations: 60.42 kB / 0.5689 GB, free: 14.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1755, allocations: 136.8 kB / 0.569 GB, free: 14.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1757, allocations: 83.92 kB / 0.5691 GB, free: 14.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1757, allocations: 0 / 0.5691 GB, free: 14.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003975/0.1761, allocations: 276.1 kB / 0.5693 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1761, allocations: 8 kB / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1761, allocations: 0 / 0.5693 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.1763, allocations: 29.19 kB / 0.5694 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1765, allocations: 51.91 kB / 0.5694 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1775, allocations: 1.323 MB / 0.5707 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1777, allocations: 31.59 kB / 0.5707 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1777, allocations: 8 kB / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.1779, allocations: 165.8 kB / 0.5709 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.1779, allocations: 23.77 kB / 0.5709 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.178, allocations: 29.83 kB / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.178, allocations: 0 / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.178, allocations: 0 / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.178, allocations: 8 kB / 0.571 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.1788, allocations: 0.6389 MB / 0.5716 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1788, allocations: 4 kB / 0.5716 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.1789, allocations: 23.92 kB / 0.5716 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/0.179, allocations: 28.97 kB / 0.5717 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.179, allocations: 0 / 0.5717 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008545/0.1799, allocations: 1.323 MB / 0.5729 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1799, allocations: 7.984 kB / 0.573 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1802, allocations: 350.5 kB / 0.5733 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1804, allocations: 116.7 kB / 0.5734 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.1804, allocations: 4 kB / 0.5734 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1805, allocations: 11.98 kB / 0.5734 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1806, allocations: 19.95 kB / 0.5734 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1806, allocations: 4 kB / 0.5734 GB, free: 9.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1808, allocations: 190 kB / 0.5736 GB, free: 9.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1808, allocations: 0 / 0.5736 GB, free: 9.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.1812, allocations: 83.69 kB / 0.5737 GB, free: 9.375 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.1813, allocations: 99.92 kB / 0.5738 GB, free: 9.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.1818, allocations: 274.5 kB / 0.5741 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1818, allocations: 4 kB / 0.5741 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.182, allocations: 179.5 kB / 0.5742 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1823, allocations: 48.53 kB / 0.5743 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.1832, allocations: 0.6286 MB / 0.5749 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1835, allocations: 0.7992 MB / 0.5757 GB, free: 7.258 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.1836, allocations: 42.27 kB / 0.5757 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.1837, allocations: 23.42 kB / 0.5757 GB, free: 7.195 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1837, allocations: 3.938 kB / 0.5757 GB, free: 7.191 MB / 446.1 MB Notification: Performance of Templates: time 0.005493/0.1892, allocations: 2.426 MB / 0.5781 GB, free: 4.797 MB / 446.1 MB 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)