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.6716/0.6716, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009796/0.0009798, allocations: 187.6 kB / 169.7 MB, free: 1.73 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.668/1.668, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009261/0.0009262, allocations: 97.88 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.893e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.184, allocations: 76.76 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5838/0.7679, allocations: 104.6 MB / 0.7303 GB, free: 8.766 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.7682, allocations: 72.77 kB / 0.7304 GB, free: 8.727 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009293/0.7775, allocations: 3.528 MB / 0.7338 GB, free: 5.711 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.7775, allocations: 0 / 0.7338 GB, free: 5.711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.7776, allocations: 8 kB / 0.7338 GB, free: 5.703 MB / 490.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.0006369/0.7782, allocations: 436.4 kB / 0.7342 GB, free: 5.246 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7783, allocations: 8.031 kB / 0.7342 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.7783, allocations: 23.77 kB / 0.7343 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.7786, allocations: 225.9 kB / 0.7345 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7787, allocations: 11.56 kB / 0.7345 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.7787, allocations: 11.88 kB / 0.7345 GB, free: 4.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.7789, allocations: 132.7 kB / 0.7346 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.779, allocations: 0 / 0.7346 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.779, allocations: 0 / 0.7346 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.779, allocations: 7.938 kB / 0.7346 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.7791, allocations: 54.33 kB / 0.7347 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.7801, allocations: 0.7457 MB / 0.7354 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.7802, allocations: 37.58 kB / 0.7355 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.7803, allocations: 23.92 kB / 0.7355 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.7803, allocations: 8 kB / 0.7355 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.7805, allocations: 115.9 kB / 0.7356 GB, free: 3.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.7805, allocations: 0 / 0.7356 GB, free: 3.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002507/0.7808, allocations: 111 kB / 0.7357 GB, free: 3.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.7809, allocations: 140.5 kB / 0.7358 GB, free: 3.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.781, allocations: 175 kB / 0.736 GB, free: 3.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.7811, allocations: 28.95 kB / 0.736 GB, free: 3.371 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.7812, allocations: 132.5 kB / 0.7362 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7812, allocations: 30.8 kB / 0.7362 GB, free: 3.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.7812, allocations: 0 / 0.7362 GB, free: 3.234 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7814, allocations: 325.7 kB / 0.7365 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.7814, allocations: 26.19 kB / 0.7365 GB, free: 2.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.7815, allocations: 128.1 kB / 0.7366 GB, free: 2.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.7816, allocations: 53.52 kB / 0.7367 GB, free: 2.688 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7817, allocations: 0 / 0.7367 GB, free: 2.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002489/0.7819, allocations: 188.5 kB / 0.7369 GB, free: 2.523 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7819, allocations: 4 kB / 0.7369 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.782, allocations: 8.094 kB / 0.7369 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.782, allocations: 11.98 kB / 0.7369 GB, free: 2.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.7821, allocations: 35.88 kB / 0.7369 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.7822, allocations: 8 kB / 0.7369 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.7823, allocations: 35.17 kB / 0.737 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.7823, allocations: 11.75 kB / 0.737 GB, free: 2.418 MB / 490.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 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.777e-05/0.7824, allocations: 121.9 kB / 0.7371 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.7825, allocations: 15.81 kB / 0.7371 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.7825, allocations: 23.72 kB / 0.7371 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7825, allocations: 3.984 kB / 0.7371 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7825, allocations: 3.953 kB / 0.7371 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7826, allocations: 4 kB / 0.7371 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.7832, allocations: 0.4899 MB / 0.7376 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7832, allocations: 0 / 0.7376 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.7833, allocations: 27.73 kB / 0.7377 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7833, allocations: 0 / 0.7377 GB, free: 1.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.7834, allocations: 11.94 kB / 0.7377 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7834, allocations: 0 / 0.7377 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7834, allocations: 8 kB / 0.7377 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.7837, allocations: 355.3 kB / 0.738 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.7838, allocations: 88.92 kB / 0.7381 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.7838, allocations: 2.562 kB / 0.7381 GB, free: 1.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.784, allocations: 20.02 kB / 0.7381 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.7841, allocations: 14.48 kB / 0.7381 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.7841, allocations: 7.938 kB / 0.7381 GB, free: 1.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.7842, allocations: 141.6 kB / 0.7383 GB, free: 1.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7842, allocations: 4 kB / 0.7383 GB, free: 1.082 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.7845, allocations: 43.08 kB / 0.7383 GB, free: 1.043 MB / 490.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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.7847, allocations: 110.2 kB / 0.7384 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.7849, allocations: 90.67 kB / 0.7385 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7849, allocations: 0 / 0.7385 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.785, allocations: 39.5 kB / 0.7385 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.7854, allocations: 69.22 kB / 0.7386 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.7859, allocations: 246.7 kB / 0.7389 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.7863, allocations: 0.7286 MB / 0.7396 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.784e-05/0.7864, allocations: 17.86 kB / 0.7396 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.7864, allocations: 19.44 kB / 0.7396 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.7864, allocations: 0 / 0.7396 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.00475/0.7912, allocations: 1.772 MB / 0.7413 GB, free: 14 MB / 0.4948 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)