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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8093/0.8093, allocations: 128.6 MB / 143.8 MB, free: 2.188 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 171.8 kB / 173.7 MB, free: 6.238 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205 MB / 408.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.0008532, allocations: 98.05 kB / 485.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 13.19 kB / 0.5587 GB, free: 98.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 76.15 MB / 0.6331 GB, free: 32.9 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003065/0.1737, allocations: 1.862 MB / 0.6349 GB, free: 31.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.1747, allocations: 0.5773 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1749, allocations: 3.938 kB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.175, allocations: 19.8 kB / 0.6355 GB, free: 30.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1752, allocations: 15.86 kB / 0.6355 GB, free: 30.39 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1754, allocations: 71.86 kB / 0.6355 GB, free: 30.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1756, allocations: 151.5 kB / 0.6357 GB, free: 30.17 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1757, allocations: 45.64 kB / 0.6357 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.1758, allocations: 55.67 kB / 0.6358 GB, free: 30.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.1758, allocations: 59.62 kB / 0.6358 GB, free: 30.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1759, allocations: 12 kB / 0.6359 GB, free: 30 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.1759, allocations: 4 kB / 0.6359 GB, free: 30 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.1759, allocations: 31.84 kB / 0.6359 GB, free: 29.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.176, allocations: 59.61 kB / 0.6359 GB, free: 29.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1761, allocations: 119.7 kB / 0.6361 GB, free: 29.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1761, allocations: 4 kB / 0.6361 GB, free: 29.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1761, allocations: 0 / 0.6361 GB, free: 29.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1761, allocations: 0 / 0.6361 GB, free: 29.79 MB / 442.7 MB 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.0005753/0.1767, allocations: 474.7 kB / 0.6365 GB, free: 29.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1768, allocations: 15.97 kB / 0.6365 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.1768, allocations: 20.75 kB / 0.6366 GB, free: 29.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.177, allocations: 227.9 kB / 0.6368 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1771, allocations: 8.375 kB / 0.6368 GB, free: 28.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1771, allocations: 12.38 kB / 0.6368 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1773, allocations: 163.5 kB / 0.6369 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1773, allocations: 0 / 0.6369 GB, free: 28.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1774, allocations: 4 kB / 0.6369 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1774, allocations: 4 kB / 0.637 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1776, allocations: 71.88 kB / 0.637 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.1783, allocations: 0.7392 MB / 0.6377 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1784, allocations: 50.56 kB / 0.6378 GB, free: 27.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.1785, allocations: 32.83 kB / 0.6378 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1785, allocations: 0 / 0.6378 GB, free: 27.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1788, allocations: 134.6 kB / 0.638 GB, free: 27.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.1788, allocations: 0 / 0.638 GB, free: 27.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004018/0.1792, allocations: 161.3 kB / 0.6381 GB, free: 27.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1793, allocations: 136.5 kB / 0.6382 GB, free: 27.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1794, allocations: 195 kB / 0.6384 GB, free: 27.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1794, allocations: 33.95 kB / 0.6385 GB, free: 27.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1795, allocations: 131.8 kB / 0.6386 GB, free: 26.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1795, allocations: 35.69 kB / 0.6386 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.1796, allocations: 45.7 kB / 0.6387 GB, free: 26.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.1797, allocations: 326.8 kB / 0.639 GB, free: 26.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1798, allocations: 35.97 kB / 0.639 GB, free: 26.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1799, allocations: 148.9 kB / 0.6391 GB, free: 26.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1801, allocations: 198.3 kB / 0.6393 GB, free: 26.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1802, allocations: 11.94 kB / 0.6393 GB, free: 26.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003313/0.1805, allocations: 209.4 kB / 0.6395 GB, free: 25.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1805, allocations: 12.09 kB / 0.6396 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1805, allocations: 4 kB / 0.6396 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1806, allocations: 7.938 kB / 0.6396 GB, free: 25.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1807, allocations: 31.92 kB / 0.6396 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1807, allocations: 7.984 kB / 0.6396 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1808, allocations: 27.83 kB / 0.6396 GB, free: 25.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1809, allocations: 8 kB / 0.6396 GB, free: 25.73 MB / 442.7 MB 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.0001411/0.181, allocations: 148.3 kB / 0.6398 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.181, allocations: 15.81 kB / 0.6398 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.1811, allocations: 21.39 kB / 0.6398 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1811, allocations: 4.234 kB / 0.6398 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1811, allocations: 0 / 0.6398 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1811, allocations: 3.984 kB / 0.6398 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.1818, allocations: 0.525 MB / 0.6403 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1818, allocations: 64 / 0.6403 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1819, allocations: 19.98 kB / 0.6404 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1819, allocations: 0 / 0.6404 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1819, allocations: 4 kB / 0.6404 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1819, allocations: 0 / 0.6404 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1819, allocations: 7.938 kB / 0.6404 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1824, allocations: 360.2 kB / 0.6407 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1824, allocations: 88.92 kB / 0.6408 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1824, allocations: 8.031 kB / 0.6408 GB, free: 24.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1826, allocations: 15.98 kB / 0.6408 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.1827, allocations: 15.92 kB / 0.6408 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1827, allocations: 4 kB / 0.6408 GB, free: 24.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.1828, allocations: 144.4 kB / 0.641 GB, free: 24.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1828, allocations: 0 / 0.641 GB, free: 24.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.1831, allocations: 28 kB / 0.641 GB, free: 24.24 MB / 442.7 MB 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.0001343/0.1832, allocations: 111.2 kB / 0.6411 GB, free: 24.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1835, allocations: 115.8 kB / 0.6412 GB, free: 24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1835, allocations: 0 / 0.6412 GB, free: 24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1837, allocations: 47.91 kB / 0.6413 GB, free: 23.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.1842, allocations: 58.8 kB / 0.6413 GB, free: 23.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.1848, allocations: 398.2 kB / 0.6417 GB, free: 23.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.185, allocations: 0.7206 MB / 0.6424 GB, free: 22.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.514e-05/0.1851, allocations: 21.67 kB / 0.6424 GB, free: 22.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1851, allocations: 19.44 kB / 0.6424 GB, free: 22.69 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1851, allocations: 0 / 0.6424 GB, free: 22.69 MB / 442.7 MB Notification: Performance of Templates: time 0.004147/0.1893, allocations: 1.818 MB / 0.6442 GB, free: 20.89 MB / 442.7 MB 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)