Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.467/0.467, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 116.1 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 55.89 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3638, allocations: 70.05 MB / 0.5575 GB, free: 44.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002966/0.3669, allocations: 1.856 MB / 0.5593 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.3677, allocations: 0.5403 MB / 0.5598 GB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.3678, allocations: 7.938 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.3679, allocations: 11.86 kB / 0.5598 GB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.368, allocations: 23.8 kB / 0.5599 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.3682, allocations: 55.94 kB / 0.5599 GB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3684, allocations: 163.4 kB / 0.5601 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3685, allocations: 49.64 kB / 0.5601 GB, free: 42.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.3685, allocations: 51.72 kB / 0.5602 GB, free: 42.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.3686, allocations: 59.64 kB / 0.5602 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3686, allocations: 8 kB / 0.5602 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.3687, allocations: 8 kB / 0.5602 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.3687, allocations: 19.92 kB / 0.5603 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.3687, allocations: 67.58 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3689, allocations: 129.5 kB / 0.5605 GB, free: 42.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3689, allocations: 0 / 0.5605 GB, free: 42.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3689, allocations: 0 / 0.5605 GB, free: 42.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3689, allocations: 0 / 0.5605 GB, free: 42.14 MB / 410.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.0005893/0.3695, allocations: 470.8 kB / 0.5609 GB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3695, allocations: 12.03 kB / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.3696, allocations: 20.66 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3698, allocations: 235.9 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3698, allocations: 8.375 kB / 0.5612 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3698, allocations: 12.38 kB / 0.5612 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3701, allocations: 156.7 kB / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3701, allocations: 4 kB / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3701, allocations: 8 kB / 0.5613 GB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3701, allocations: 4 kB / 0.5613 GB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.3703, allocations: 74.06 kB / 0.5614 GB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.371, allocations: 0.7392 MB / 0.5621 GB, free: 40.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3711, allocations: 54.5 kB / 0.5622 GB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.3712, allocations: 36.81 kB / 0.5622 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3712, allocations: 0 / 0.5622 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.3715, allocations: 130.9 kB / 0.5623 GB, free: 40 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3715, allocations: 0 / 0.5623 GB, free: 40 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000409/0.3719, allocations: 161.3 kB / 0.5625 GB, free: 39.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.372, allocations: 136.5 kB / 0.5626 GB, free: 39.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3721, allocations: 207.1 kB / 0.5628 GB, free: 39.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3721, allocations: 29.7 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.3722, allocations: 127.8 kB / 0.563 GB, free: 39.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3722, allocations: 31.55 kB / 0.563 GB, free: 39.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.3722, allocations: 41.7 kB / 0.563 GB, free: 39.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.3723, allocations: 330.8 kB / 0.5634 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3724, allocations: 35.97 kB / 0.5634 GB, free: 38.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.3725, allocations: 151.1 kB / 0.5635 GB, free: 38.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3728, allocations: 206.3 kB / 0.5637 GB, free: 38.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3728, allocations: 4 kB / 0.5637 GB, free: 38.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003299/0.3731, allocations: 201.4 kB / 0.5639 GB, free: 38.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3732, allocations: 11.98 kB / 0.5639 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3732, allocations: 4 kB / 0.564 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3732, allocations: 4 kB / 0.564 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3733, allocations: 35.92 kB / 0.564 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3733, allocations: 4 kB / 0.564 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3734, allocations: 27.73 kB / 0.564 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3735, allocations: 12 kB / 0.564 GB, free: 38.09 MB / 410.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 7.161e-05/0.3735, allocations: 145.8 kB / 0.5642 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.3736, allocations: 19.75 kB / 0.5642 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.3736, allocations: 21.39 kB / 0.5642 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3736, allocations: 4 kB / 0.5642 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3736, allocations: 0 / 0.5642 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3736, allocations: 4 kB / 0.5642 GB, free: 37.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.3742, allocations: 0.5094 MB / 0.5647 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3742, allocations: 0 / 0.5647 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3743, allocations: 23.92 kB / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3743, allocations: 320 / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3744, allocations: 4 kB / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3744, allocations: 4 kB / 0.5647 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3744, allocations: 7.938 kB / 0.5648 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.3753, allocations: 1.363 MB / 0.5661 GB, free: 35.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.3754, allocations: 88.92 kB / 0.5662 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3754, allocations: 7.938 kB / 0.5662 GB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3755, allocations: 15.98 kB / 0.5662 GB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3756, allocations: 11.92 kB / 0.5662 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3756, allocations: 7.984 kB / 0.5662 GB, free: 35.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.058e-05/0.3757, allocations: 152.2 kB / 0.5664 GB, free: 35.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3757, allocations: 0 / 0.5664 GB, free: 35.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.3761, allocations: 36 kB / 0.5664 GB, free: 35.45 MB / 410.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 8.242e-05/0.3762, allocations: 104.8 kB / 0.5665 GB, free: 35.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3764, allocations: 116.5 kB / 0.5666 GB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3764, allocations: 0 / 0.5666 GB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3766, allocations: 47.91 kB / 0.5666 GB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.3771, allocations: 69.69 kB / 0.5667 GB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3777, allocations: 0.5206 MB / 0.5672 GB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3778, allocations: 0.7245 MB / 0.5679 GB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.3779, allocations: 29.97 kB / 0.568 GB, free: 33.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.3779, allocations: 19.44 kB / 0.568 GB, free: 33.74 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3779, allocations: 0 / 0.568 GB, free: 33.74 MB / 410.7 MB Notification: Performance of Templates: time 0.003941/0.3819, allocations: 1.931 MB / 0.5699 GB, free: 31.84 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)