Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 110.9 kB / 16.38 MB, free: 6.418 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.001172/0.001172, allocations: 190.2 kB / 17.32 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 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.8272/0.8272, allocations: 143.1 MB / 434.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 72.14 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1665, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002891/0.1694, allocations: 1.827 MB / 0.678 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1704, allocations: 0.5338 MB / 0.6786 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.1705, allocations: 3.938 kB / 0.6786 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1706, allocations: 23.73 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.1707, allocations: 31.72 kB / 0.6786 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.171, allocations: 67.86 kB / 0.6787 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1712, allocations: 167.5 kB / 0.6789 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1713, allocations: 49.64 kB / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1714, allocations: 63.72 kB / 0.679 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.1715, allocations: 51.7 kB / 0.679 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1715, allocations: 11.94 kB / 0.679 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.1716, allocations: 12 kB / 0.679 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.1716, allocations: 27.91 kB / 0.6791 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.1717, allocations: 67.59 kB / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1719, allocations: 139.3 kB / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1719, allocations: 0 / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1719, allocations: 3.938 kB / 0.6793 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1719, allocations: 0 / 0.6793 GB, free: 7.234 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007221/0.1726, allocations: 482.5 kB / 0.6797 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1727, allocations: 8.031 kB / 0.6797 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1727, allocations: 16.75 kB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.173, allocations: 235.9 kB / 0.68 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1731, allocations: 12.31 kB / 0.68 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1731, allocations: 20.38 kB / 0.68 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.1734, allocations: 144.7 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1734, allocations: 4 kB / 0.6801 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1735, allocations: 4 kB / 0.6801 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1735, allocations: 4 kB / 0.6801 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.1737, allocations: 71.88 kB / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.1746, allocations: 0.743 MB / 0.6809 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1748, allocations: 46.55 kB / 0.681 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1749, allocations: 36.83 kB / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.1749, allocations: 0 / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1751, allocations: 126.7 kB / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1752, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004667/0.1756, allocations: 161.4 kB / 0.6813 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.1757, allocations: 144.7 kB / 0.6814 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1759, allocations: 199 kB / 0.6816 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1759, allocations: 29.7 kB / 0.6817 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.176, allocations: 131.8 kB / 0.6818 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.1761, allocations: 35.69 kB / 0.6818 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1761, allocations: 41.7 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1762, allocations: 330.8 kB / 0.6822 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1764, allocations: 39.97 kB / 0.6822 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.1766, allocations: 156.5 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.1769, allocations: 198.3 kB / 0.6825 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1769, allocations: 4 kB / 0.6825 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003903/0.1773, allocations: 205.5 kB / 0.6827 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1773, allocations: 8 kB / 0.6828 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1773, allocations: 4 kB / 0.6828 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1774, allocations: 7.984 kB / 0.6828 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1775, allocations: 35.92 kB / 0.6828 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1775, allocations: 4 kB / 0.6828 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1777, allocations: 24.11 kB / 0.6828 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1777, allocations: 16 kB / 0.6828 GB, free: 3.176 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001164/0.1778, allocations: 142.3 kB / 0.683 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1778, allocations: 15.81 kB / 0.683 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1779, allocations: 17.41 kB / 0.683 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1779, allocations: 7.938 kB / 0.683 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1779, allocations: 0 / 0.683 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1779, allocations: 7.984 kB / 0.683 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.1787, allocations: 0.517 MB / 0.6835 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1787, allocations: 0 / 0.6835 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1788, allocations: 15.98 kB / 0.6835 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1788, allocations: 0 / 0.6835 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1788, allocations: 8 kB / 0.6835 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1788, allocations: 0 / 0.6835 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1788, allocations: 7.938 kB / 0.6836 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.1793, allocations: 360.2 kB / 0.6839 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1794, allocations: 88.92 kB / 0.684 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1794, allocations: 8.312 kB / 0.684 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1796, allocations: 20.02 kB / 0.684 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1797, allocations: 15.92 kB / 0.684 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1797, allocations: 8 kB / 0.684 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001005/0.1798, allocations: 136.6 kB / 0.6842 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.723e-06/0.1798, allocations: 0 / 0.6842 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003303/0.1801, allocations: 39.78 kB / 0.6842 GB, free: 1.668 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001194/0.1803, allocations: 107.2 kB / 0.6843 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1806, allocations: 115.7 kB / 0.6844 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1806, allocations: 0 / 0.6844 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1808, allocations: 52.91 kB / 0.6845 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.1813, allocations: 75.02 kB / 0.6845 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.1819, allocations: 378.1 kB / 0.6849 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1822, allocations: 0.7319 MB / 0.6856 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.1823, allocations: 19.44 kB / 0.6856 GB, free: 140 kB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1823, allocations: 0 / 0.6856 GB, free: 140 kB / 0.5137 GB Notification: Performance of Templates: time 0.003793/0.1861, allocations: 2.128 MB / 0.6877 GB, free: 14.02 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)