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.005394/0.005394, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.00118/0.00118, allocations: 188.2 kB / 16.79 MB, free: 5.805 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.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.9978/0.9978, allocations: 143 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1659, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002805/0.1688, allocations: 1.506 MB / 0.5957 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.1696, allocations: 419.6 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1696, allocations: 0 / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1697, allocations: 0 / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.1697, allocations: 7.938 kB / 0.5961 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1701, allocations: 78.59 kB / 0.5962 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.231e-05/0.1701, allocations: 23.92 kB / 0.5962 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.1702, allocations: 8 kB / 0.5962 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.1703, allocations: 7.922 kB / 0.5962 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.264e-05/0.1703, allocations: 15.88 kB / 0.5963 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1703, allocations: 4 kB / 0.5963 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.1707, allocations: 279.6 kB / 0.5965 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1707, allocations: 4 kB / 0.5965 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.1708, allocations: 7.938 kB / 0.5965 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1709, allocations: 71.86 kB / 0.5966 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1709, allocations: 0 / 0.5966 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1709, allocations: 0 / 0.5966 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1709, allocations: 0 / 0.5966 GB, free: 7.613 MB / 0.4981 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.0004804/0.1714, allocations: 367.7 kB / 0.597 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1715, allocations: 12.03 kB / 0.597 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1715, allocations: 4.938 kB / 0.597 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1716, allocations: 168.3 kB / 0.5971 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1716, allocations: 384 / 0.5971 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1717, allocations: 384 / 0.5971 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1719, allocations: 54.17 kB / 0.5972 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1719, allocations: 192 / 0.5972 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1719, allocations: 7.922 kB / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1719, allocations: 0 / 0.5972 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1721, allocations: 43.95 kB / 0.5972 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1724, allocations: 240.9 kB / 0.5975 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1726, allocations: 50.47 kB / 0.5975 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.1727, allocations: 24.84 kB / 0.5975 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.1734, allocations: 461.5 kB / 0.598 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1734, allocations: 30.56 kB / 0.598 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1735, allocations: 4 kB / 0.598 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003706/0.1738, allocations: 81.64 kB / 0.5981 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1739, allocations: 55.41 kB / 0.5981 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.174, allocations: 101.8 kB / 0.5982 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.174, allocations: 29.7 kB / 0.5983 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.174, allocations: 84.14 kB / 0.5983 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1741, allocations: 11.97 kB / 0.5984 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.1741, allocations: 17.72 kB / 0.5984 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1742, allocations: 310.8 kB / 0.5987 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.1743, allocations: 23.91 kB / 0.5987 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.1744, allocations: 15.98 kB / 0.5987 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1745, allocations: 40.89 kB / 0.5988 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1745, allocations: 0 / 0.5988 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.1748, allocations: 77.5 kB / 0.5988 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1748, allocations: 4 kB / 0.5988 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1748, allocations: 0 / 0.5988 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1748, allocations: 0 / 0.5988 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.1749, allocations: 15.92 kB / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1749, allocations: 0 / 0.5988 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.175, allocations: 12.02 kB / 0.5989 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.175, allocations: 4.188 kB / 0.5989 GB, free: 4.988 MB / 0.4981 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 7.14e-05/0.175, allocations: 109.8 kB / 0.599 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1751, allocations: 4 kB / 0.599 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1753, allocations: 73.19 kB / 0.599 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1753, allocations: 0 / 0.599 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1754, allocations: 8.031 kB / 0.599 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1754, allocations: 0 / 0.599 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1755, allocations: 161.6 kB / 0.5992 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1755, allocations: 4 kB / 0.5992 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1756, allocations: 7.984 kB / 0.5992 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1756, allocations: 3.938 kB / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1756, allocations: 0 / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1756, allocations: 0 / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1756, allocations: 4 kB / 0.5992 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1759, allocations: 175.3 kB / 0.5994 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1759, allocations: 77.11 kB / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.176, allocations: 0 / 0.5995 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.176, allocations: 11.98 kB / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1761, allocations: 0 / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1761, allocations: 4 kB / 0.5995 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.1761, allocations: 83.31 kB / 0.5996 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 0 / 0.5996 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002661/0.1764, allocations: 15.98 kB / 0.5996 GB, free: 4.156 MB / 0.4981 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.0001838/0.1766, allocations: 107.2 kB / 0.5997 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.1768, allocations: 43.89 kB / 0.5997 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1768, allocations: 0 / 0.5997 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1769, allocations: 24.05 kB / 0.5997 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.1772, allocations: 5.812 kB / 0.5997 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.1775, allocations: 141 kB / 0.5999 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1778, allocations: 0.677 MB / 0.6005 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1778, allocations: 11.38 kB / 0.6005 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1778, allocations: 0 / 0.6005 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002213/0.18, allocations: 0.7053 MB / 0.6012 GB, free: 2.387 MB / 0.4981 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)