Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0007186/0.0007186, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.004184/0.004184, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000461/0.000461, allocations: 23.98 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3722, allocations: 106.3 MB / 0.7287 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001643/0.3739, allocations: 1.518 MB / 0.7302 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007581/0.3747, allocations: 0.5812 MB / 0.7308 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.3748, allocations: 7.938 kB / 0.7308 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3749, allocations: 15.8 kB / 0.7308 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.3749, allocations: 23.78 kB / 0.7308 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.3751, allocations: 51.95 kB / 0.7309 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3753, allocations: 167.5 kB / 0.731 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3754, allocations: 49.64 kB / 0.7311 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.3755, allocations: 43.73 kB / 0.7311 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.3755, allocations: 51.64 kB / 0.7312 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3756, allocations: 4 kB / 0.7312 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.3756, allocations: 4 kB / 0.7312 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.3756, allocations: 23.86 kB / 0.7312 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.3757, allocations: 85.3 kB / 0.7313 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3758, allocations: 117.5 kB / 0.7314 GB, free: 8.664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3758, allocations: 0 / 0.7314 GB, free: 8.664 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3758, allocations: 0 / 0.7314 GB, free: 8.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.3758, allocations: 0 / 0.7314 GB, free: 8.664 MB / 0.545 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.0005398/0.3764, allocations: 450.9 kB / 0.7318 GB, free: 8.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3764, allocations: 19.91 kB / 0.7318 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.3765, allocations: 16.75 kB / 0.7318 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3767, allocations: 227.9 kB / 0.7321 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3767, allocations: 12.31 kB / 0.7321 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3767, allocations: 12.38 kB / 0.7321 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.377, allocations: 162.2 kB / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.377, allocations: 0 / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.377, allocations: 4 kB / 0.7322 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.377, allocations: 7.984 kB / 0.7323 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.3773, allocations: 79.89 kB / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.378, allocations: 0.743 MB / 0.7331 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.3781, allocations: 50.55 kB / 0.7331 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3782, allocations: 40.84 kB / 0.7331 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.3783, allocations: 4.156 kB / 0.7331 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.3785, allocations: 138.7 kB / 0.7333 GB, free: 6.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.3785, allocations: 3.938 kB / 0.7333 GB, free: 6.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004205/0.3789, allocations: 177.8 kB / 0.7335 GB, free: 6.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.379, allocations: 136.5 kB / 0.7336 GB, free: 6.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3791, allocations: 198.9 kB / 0.7338 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3792, allocations: 29.7 kB / 0.7338 GB, free: 5.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3792, allocations: 123.9 kB / 0.7339 GB, free: 5.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3793, allocations: 39.52 kB / 0.734 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3793, allocations: 29.7 kB / 0.734 GB, free: 5.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.3794, allocations: 322.8 kB / 0.7343 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3795, allocations: 47.97 kB / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3797, allocations: 153.9 kB / 0.7345 GB, free: 5.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.38, allocations: 218.3 kB / 0.7347 GB, free: 4.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.38, allocations: 0 / 0.7347 GB, free: 4.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003536/0.3803, allocations: 221.4 kB / 0.7349 GB, free: 4.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3803, allocations: 8 kB / 0.7349 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3804, allocations: 12 kB / 0.7349 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3804, allocations: 4 kB / 0.7349 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3805, allocations: 35.92 kB / 0.735 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3805, allocations: 7.984 kB / 0.735 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3807, allocations: 36.02 kB / 0.735 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3807, allocations: 8 kB / 0.735 GB, free: 4.559 MB / 0.545 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 8.728e-05/0.3808, allocations: 141.7 kB / 0.7351 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.3808, allocations: 15.81 kB / 0.7352 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.3808, allocations: 21.39 kB / 0.7352 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3808, allocations: 4 kB / 0.7352 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3809, allocations: 0 / 0.7352 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3809, allocations: 4 kB / 0.7352 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.3815, allocations: 0.5365 MB / 0.7357 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3815, allocations: 0 / 0.7357 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3816, allocations: 19.98 kB / 0.7357 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3816, allocations: 0 / 0.7357 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3817, allocations: 4 kB / 0.7357 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3817, allocations: 0 / 0.7357 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3817, allocations: 7.938 kB / 0.7357 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.3821, allocations: 383.3 kB / 0.7361 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3822, allocations: 100.9 kB / 0.7362 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3822, allocations: 0 / 0.7362 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3823, allocations: 19.98 kB / 0.7362 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3824, allocations: 15.92 kB / 0.7362 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3824, allocations: 4 kB / 0.7362 GB, free: 3.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.93e-05/0.3825, allocations: 148.4 kB / 0.7364 GB, free: 3.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3825, allocations: 0 / 0.7364 GB, free: 3.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002951/0.3828, allocations: 28 kB / 0.7364 GB, free: 3.016 MB / 0.545 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 9.242e-05/0.3829, allocations: 107.5 kB / 0.7365 GB, free: 2.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3832, allocations: 124.1 kB / 0.7366 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3832, allocations: 0 / 0.7366 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3833, allocations: 56.81 kB / 0.7367 GB, free: 2.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.3838, allocations: 69.55 kB / 0.7368 GB, free: 2.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.3843, allocations: 406.8 kB / 0.7371 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3846, allocations: 0.7244 MB / 0.7378 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.3847, allocations: 21.53 kB / 0.7379 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.3847, allocations: 15.44 kB / 0.7379 GB, free: 1.445 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.3847, allocations: 0 / 0.7379 GB, free: 1.445 MB / 0.545 GB Notification: Performance of Templates: time 0.003843/0.3886, allocations: 1.799 MB / 0.7396 GB, free: 15.66 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) Environment - environmentSimulation: