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.005849/0.005849, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001125/0.001125, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 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.886/0.886, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 55.47 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.171, allocations: 82.03 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.00307/0.1742, allocations: 1.825 MB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1752, allocations: 0.5376 MB / 0.6779 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1754, allocations: 4 kB / 0.6779 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1755, allocations: 27.73 kB / 0.678 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.1756, allocations: 27.72 kB / 0.678 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1759, allocations: 63.86 kB / 0.6781 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1761, allocations: 175.5 kB / 0.6782 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1763, allocations: 45.66 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.1763, allocations: 55.72 kB / 0.6783 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.1764, allocations: 55.7 kB / 0.6784 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1765, allocations: 12 kB / 0.6784 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.1765, allocations: 8 kB / 0.6784 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.1765, allocations: 31.84 kB / 0.6784 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.1766, allocations: 67.55 kB / 0.6785 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.1768, allocations: 131.3 kB / 0.6786 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1768, allocations: 0 / 0.6786 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1768, allocations: 0 / 0.6786 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.1768, allocations: 4 kB / 0.6786 GB, free: 7.285 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.0006771/0.1775, allocations: 490.4 kB / 0.6791 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1775, allocations: 8.031 kB / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1776, allocations: 20.84 kB / 0.6791 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1779, allocations: 240 kB / 0.6793 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1779, allocations: 12.31 kB / 0.6794 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1779, allocations: 16.31 kB / 0.6794 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1782, allocations: 151.8 kB / 0.6795 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1782, allocations: 0 / 0.6795 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1783, allocations: 3.984 kB / 0.6795 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1783, allocations: 8 kB / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.1785, allocations: 67.89 kB / 0.6796 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.1793, allocations: 0.7395 MB / 0.6803 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1795, allocations: 54.48 kB / 0.6804 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1796, allocations: 32.83 kB / 0.6804 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1796, allocations: 0 / 0.6804 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1799, allocations: 130.7 kB / 0.6805 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1799, allocations: 0 / 0.6805 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0004571/0.1803, allocations: 165.6 kB / 0.6807 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.1804, allocations: 132.5 kB / 0.6808 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1806, allocations: 203 kB / 0.681 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1806, allocations: 29.7 kB / 0.681 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1807, allocations: 124 kB / 0.6811 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1807, allocations: 39.88 kB / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1808, allocations: 45.7 kB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1809, allocations: 334.8 kB / 0.6816 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.181, allocations: 43.91 kB / 0.6816 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1812, allocations: 142.5 kB / 0.6817 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.1815, allocations: 202.3 kB / 0.6819 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1815, allocations: 0 / 0.6819 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003752/0.1819, allocations: 209.2 kB / 0.6821 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1819, allocations: 9.719 kB / 0.6821 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1819, allocations: 4 kB / 0.6821 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.182, allocations: 7.938 kB / 0.6821 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1821, allocations: 31.92 kB / 0.6822 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1821, allocations: 12.36 kB / 0.6822 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1822, allocations: 31.88 kB / 0.6822 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1823, allocations: 12 kB / 0.6822 GB, free: 3.203 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 9.977e-05/0.1824, allocations: 135 kB / 0.6824 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1824, allocations: 15.91 kB / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.1825, allocations: 25.39 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1825, allocations: 0 / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1825, allocations: 0 / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1825, allocations: 4 kB / 0.6824 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.1832, allocations: 0.5134 MB / 0.6829 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1832, allocations: 4.062 kB / 0.6829 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1833, allocations: 19.92 kB / 0.6829 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1833, allocations: 7.938 kB / 0.6829 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1833, allocations: 0 / 0.6829 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1834, allocations: 4 kB / 0.6829 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1834, allocations: 7.938 kB / 0.6829 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1838, allocations: 364.2 kB / 0.6833 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.1839, allocations: 97.05 kB / 0.6834 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1839, allocations: 4 kB / 0.6834 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1841, allocations: 16.36 kB / 0.6834 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1842, allocations: 11.92 kB / 0.6834 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1842, allocations: 8 kB / 0.6834 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001025/0.1843, allocations: 140.6 kB / 0.6836 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 0 / 0.6836 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003242/0.1846, allocations: 24 kB / 0.6836 GB, free: 1.711 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.0001195/0.1848, allocations: 111.2 kB / 0.6837 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1851, allocations: 112.7 kB / 0.6838 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1851, allocations: 4 kB / 0.6838 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1852, allocations: 52.03 kB / 0.6838 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1858, allocations: 83.47 kB / 0.6839 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1864, allocations: 352 kB / 0.6843 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1866, allocations: 0.7204 MB / 0.685 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.1867, allocations: 25.53 kB / 0.685 GB, free: 208 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1868, allocations: 19.44 kB / 0.685 GB, free: 188 kB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1868, allocations: 11.94 kB / 0.685 GB, free: 176 kB / 0.5137 GB Notification: Performance of Templates: time 0.004601/0.1914, allocations: 2.019 MB / 0.687 GB, free: 14.18 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)