Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001175/0.001175, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8659/0.8659, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.03 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003014/0.1616, allocations: 1.438 MB / 0.6777 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.1624, allocations: 387.5 kB / 0.6781 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.1625, allocations: 0 / 0.6781 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1625, allocations: 3.938 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.1626, allocations: 0 / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.1632, allocations: 119.5 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.1633, allocations: 27.86 kB / 0.6782 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1634, allocations: 15.98 kB / 0.6782 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.1634, allocations: 7.984 kB / 0.6782 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1635, allocations: 11.94 kB / 0.6783 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1635, allocations: 3.938 kB / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.164, allocations: 279.6 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.164, allocations: 11.98 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.164, allocations: 11.92 kB / 0.6786 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1643, allocations: 99.78 kB / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1643, allocations: 0 / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1643, allocations: 0 / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1643, allocations: 4 kB / 0.6787 GB, free: 7.906 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005865/0.1649, allocations: 367.3 kB / 0.679 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.165, allocations: 12.03 kB / 0.679 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.1651, allocations: 0.9375 kB / 0.679 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1652, allocations: 168.3 kB / 0.6792 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1652, allocations: 384 / 0.6792 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1652, allocations: 384 / 0.6792 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.1654, allocations: 58.17 kB / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1655, allocations: 192 / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1655, allocations: 3.938 kB / 0.6792 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1655, allocations: 0 / 0.6792 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.1657, allocations: 35.95 kB / 0.6793 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.1661, allocations: 260.9 kB / 0.6795 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1662, allocations: 46.5 kB / 0.6796 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1663, allocations: 20.91 kB / 0.6796 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.1671, allocations: 465.4 kB / 0.68 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1671, allocations: 30.56 kB / 0.6801 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.1671, allocations: 0 / 0.6801 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004145/0.1675, allocations: 85.64 kB / 0.6801 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1676, allocations: 51.53 kB / 0.6802 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.1677, allocations: 113.8 kB / 0.6803 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1677, allocations: 25.7 kB / 0.6803 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.1678, allocations: 84.14 kB / 0.6804 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1678, allocations: 3.906 kB / 0.6804 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1679, allocations: 13.72 kB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.168, allocations: 318.8 kB / 0.6807 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.1681, allocations: 15.98 kB / 0.6807 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.1682, allocations: 23.92 kB / 0.6808 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1683, allocations: 40.81 kB / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1683, allocations: 0 / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002249/0.1686, allocations: 65.61 kB / 0.6809 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1686, allocations: 7.375 kB / 0.6809 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1686, allocations: 4 kB / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1686, allocations: 0 / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1687, allocations: 11.98 kB / 0.6809 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1687, allocations: 7.875 kB / 0.6809 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.1688, allocations: 11.98 kB / 0.6809 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1688, allocations: 0 / 0.6809 GB, free: 5.285 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.027e-05/0.1689, allocations: 118.4 kB / 0.681 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1689, allocations: 3.906 kB / 0.681 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.1692, allocations: 77.19 kB / 0.6811 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1692, allocations: 0 / 0.6811 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1692, allocations: 0 / 0.6811 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1692, allocations: 3.984 kB / 0.6811 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1694, allocations: 161.6 kB / 0.6813 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1694, allocations: 0 / 0.6813 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1694, allocations: 7.984 kB / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1695, allocations: 0 / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1695, allocations: 8.031 kB / 0.6813 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1695, allocations: 0 / 0.6813 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1695, allocations: 0 / 0.6813 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1697, allocations: 167.4 kB / 0.6814 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1698, allocations: 85 kB / 0.6815 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1698, allocations: 0 / 0.6815 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.1699, allocations: 12.02 kB / 0.6815 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1699, allocations: 4 kB / 0.6815 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.17, allocations: 256 / 0.6815 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.17, allocations: 91.27 kB / 0.6816 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 0 / 0.6816 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002358/0.1703, allocations: 16 kB / 0.6816 GB, free: 4.445 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001992/0.1705, allocations: 103.2 kB / 0.6817 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1707, allocations: 51.89 kB / 0.6818 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1707, allocations: 0 / 0.6818 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.1708, allocations: 15.98 kB / 0.6818 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1711, allocations: 7.938 kB / 0.6818 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1714, allocations: 131.2 kB / 0.6819 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1717, allocations: 0.6808 MB / 0.6826 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1718, allocations: 11.44 kB / 0.6826 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1718, allocations: 0 / 0.6826 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of Templates: time 0.002318/0.1741, allocations: 0.7158 MB / 0.6833 GB, free: 2.668 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)