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.001217/0.001222, allocations: 108 kB / 15.6 MB, free: 132 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.001283/0.001283, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 1.004/1.004, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 72.08 kB / 0.5142 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1748, allocations: 82.03 MB / 0.5943 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002677/0.1775, allocations: 1.437 MB / 0.5957 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.1783, allocations: 387.5 kB / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1784, allocations: 3.938 kB / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1784, allocations: 0 / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.1785, allocations: 3.938 kB / 0.596 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.179, allocations: 121.7 kB / 0.5962 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.1791, allocations: 23.92 kB / 0.5962 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1792, allocations: 4 kB / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.1792, allocations: 8 kB / 0.5962 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.1793, allocations: 15.92 kB / 0.5962 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1793, allocations: 3.938 kB / 0.5962 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1797, allocations: 279.6 kB / 0.5965 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.1797, allocations: 11.92 kB / 0.5965 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.1798, allocations: 7.938 kB / 0.5965 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1799, allocations: 103.8 kB / 0.5966 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.18, allocations: 3.938 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.18, allocations: 7.938 kB / 0.5966 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.18, allocations: 0 / 0.5966 GB, free: 7.137 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.0004899/0.1805, allocations: 369.7 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1805, allocations: 8.031 kB / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.1806, allocations: 0.9375 kB / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1807, allocations: 168.3 kB / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1807, allocations: 384 / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.1807, allocations: 4.375 kB / 0.5971 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1809, allocations: 50.23 kB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1809, allocations: 192 / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1809, allocations: 3.938 kB / 0.5972 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.181, allocations: 4 kB / 0.5972 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1811, allocations: 35.95 kB / 0.5972 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1814, allocations: 252.9 kB / 0.5975 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1816, allocations: 42.48 kB / 0.5975 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.97e-05/0.1817, allocations: 24.91 kB / 0.5975 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.1824, allocations: 457.5 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1824, allocations: 34.56 kB / 0.598 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1824, allocations: 0 / 0.598 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003755/0.1828, allocations: 89.67 kB / 0.5981 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1828, allocations: 51.41 kB / 0.5981 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.1829, allocations: 105.8 kB / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1829, allocations: 25.7 kB / 0.5983 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.183, allocations: 92.12 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.183, allocations: 7.844 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1831, allocations: 17.72 kB / 0.5984 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1832, allocations: 310.9 kB / 0.5987 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.1833, allocations: 23.98 kB / 0.5987 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.1834, allocations: 15.97 kB / 0.5987 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1835, allocations: 36.83 kB / 0.5987 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1835, allocations: 0 / 0.5987 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000229/0.1838, allocations: 89.44 kB / 0.5988 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1838, allocations: 4 kB / 0.5988 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1838, allocations: 0 / 0.5988 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1838, allocations: 4 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.1839, allocations: 8.234 kB / 0.5988 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1839, allocations: 3.938 kB / 0.5989 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.184, allocations: 8 kB / 0.5989 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.184, allocations: 0 / 0.5989 GB, free: 4.52 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 8.054e-05/0.1841, allocations: 121.8 kB / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1841, allocations: 0 / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.1843, allocations: 77.12 kB / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1843, allocations: 0 / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1843, allocations: 0 / 0.599 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1844, allocations: 3.984 kB / 0.5991 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1845, allocations: 165.6 kB / 0.5992 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1845, allocations: 4.031 kB / 0.5992 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.1846, allocations: 4 kB / 0.5992 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1846, allocations: 3.984 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1846, allocations: 8 kB / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1846, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1846, allocations: 0 / 0.5992 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1849, allocations: 167.4 kB / 0.5994 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1849, allocations: 77.11 kB / 0.5995 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1849, allocations: 7.938 kB / 0.5995 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.185, allocations: 4 kB / 0.5995 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1851, allocations: 7.984 kB / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1851, allocations: 0 / 0.5995 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.1851, allocations: 79.28 kB / 0.5996 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1851, allocations: 0 / 0.5996 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1854, allocations: 16 kB / 0.5996 GB, free: 3.684 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.0001735/0.1855, allocations: 119.3 kB / 0.5997 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1858, allocations: 35.95 kB / 0.5997 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1858, allocations: 0 / 0.5997 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.361e-05/0.1859, allocations: 19.98 kB / 0.5997 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1862, allocations: 10.44 kB / 0.5997 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.1864, allocations: 121.4 kB / 0.5999 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1867, allocations: 0.6768 MB / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.1867, allocations: 0 / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.1867, allocations: 11.44 kB / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1867, allocations: 0 / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.00285/0.1896, allocations: 0.7221 MB / 0.6012 GB, free: 1.918 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)