Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004674/0.004675, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001106/0.001106, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.8197/0.8197, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 64.12 kB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1581, allocations: 82.04 MB / 0.6757 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001582/0.1598, allocations: 0.5867 MB / 0.6762 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005823/0.1603, allocations: 327.2 kB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.1604, allocations: 0 / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1604, allocations: 3.938 kB / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.1604, allocations: 0 / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1608, allocations: 111.5 kB / 0.6767 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.449e-05/0.1608, allocations: 4 kB / 0.6767 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.1609, allocations: 4 kB / 0.6767 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.159e-05/0.1609, allocations: 4 kB / 0.6767 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.1609, allocations: 3.984 kB / 0.6767 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.1609, allocations: 0 / 0.6767 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.1613, allocations: 279.6 kB / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-06/0.1613, allocations: 0 / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.1613, allocations: 3.938 kB / 0.6769 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1615, allocations: 79.86 kB / 0.677 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1615, allocations: 4 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1615, allocations: 0 / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1615, allocations: 0 / 0.677 GB, free: 8.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003087/0.1618, allocations: 331.6 kB / 0.6773 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1619, allocations: 12.03 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1619, allocations: 4.875 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/0.162, allocations: 160.4 kB / 0.6775 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1621, allocations: 384 / 0.6775 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1621, allocations: 384 / 0.6775 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.155e-05/0.1622, allocations: 38.19 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1622, allocations: 192 / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1622, allocations: 3.938 kB / 0.6776 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1622, allocations: 4 kB / 0.6776 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.1622, allocations: 0 / 0.6776 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1624, allocations: 149.7 kB / 0.6777 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.1624, allocations: 14.58 kB / 0.6777 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.1624, allocations: 8.953 kB / 0.6777 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.1629, allocations: 429.4 kB / 0.6781 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.163, allocations: 34.56 kB / 0.6782 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.163, allocations: 0 / 0.6782 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.1631, allocations: 41.62 kB / 0.6782 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1632, allocations: 51.41 kB / 0.6783 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.292e-05/0.1632, allocations: 89.86 kB / 0.6783 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.1632, allocations: 29.64 kB / 0.6784 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.1633, allocations: 88.25 kB / 0.6785 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1633, allocations: 4 kB / 0.6785 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.1633, allocations: 9.719 kB / 0.6785 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.1634, allocations: 310.8 kB / 0.6788 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.1634, allocations: 0 / 0.6788 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1634, allocations: 11.92 kB / 0.6788 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.1635, allocations: 8.859 kB / 0.6788 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1635, allocations: 8.062 kB / 0.6788 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.669e-05/0.1635, allocations: 29.7 kB / 0.6788 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1636, allocations: 4 kB / 0.6788 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1636, allocations: 0 / 0.6788 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1636, allocations: 7.938 kB / 0.6788 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.1636, allocations: 0 / 0.6788 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1636, allocations: 0 / 0.6788 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.1636, allocations: 3.938 kB / 0.6788 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1637, allocations: 4 kB / 0.6788 GB, free: 6.734 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 (1): * Single equations (assignments): 1 * 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 6.923e-05/0.1637, allocations: 118.5 kB / 0.679 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1638, allocations: 0 / 0.679 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.1638, allocations: 44.7 kB / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1638, allocations: 0 / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1638, allocations: 0 / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1639, allocations: 0 / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.164, allocations: 149.7 kB / 0.6791 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.164, allocations: 3.938 kB / 0.6791 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.164, allocations: 0 / 0.6791 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.164, allocations: 4.031 kB / 0.6791 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.164, allocations: 7.938 kB / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.164, allocations: 0 / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.164, allocations: 0 / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.279e-05/0.1641, allocations: 61.06 kB / 0.6792 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1641, allocations: 89 kB / 0.6793 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1641, allocations: 3.938 kB / 0.6793 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.1642, allocations: 0 / 0.6793 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1642, allocations: 4.031 kB / 0.6793 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.1642, allocations: 0 / 0.6793 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.1642, allocations: 79.22 kB / 0.6794 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 0.6794 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001812/0.1644, allocations: 16 kB / 0.6794 GB, free: 6.066 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 (1): * Single equations (assignments): 1 * 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.0001633/0.1646, allocations: 107.2 kB / 0.6795 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.1646, allocations: 8 kB / 0.6795 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1647, allocations: 4.062 kB / 0.6795 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-06/0.1647, allocations: 7.938 kB / 0.6795 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.1648, allocations: 5.062 kB / 0.6795 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.1649, allocations: 80.92 kB / 0.6796 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1652, allocations: 0.6729 MB / 0.6803 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.409e-05/0.1652, allocations: 0 / 0.6803 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.1652, allocations: 7.438 kB / 0.6803 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1652, allocations: 0 / 0.6803 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of Templates: time 0.002116/0.1673, allocations: 476.3 kB / 0.6807 GB, free: 4.652 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)