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.0009931/0.0009931, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009086/0.0009087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.774/1.774, allocations: 251.9 MB / 0.51 GB, free: 4.898 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.0005847/0.0005848, allocations: 16 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5869, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.001967/0.5889, allocations: 1.483 MB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008481/0.5898, allocations: 0.5659 MB / 0.73 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.5899, allocations: 3.938 kB / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.5899, allocations: 11.86 kB / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.5901, allocations: 27.89 kB / 0.73 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.5903, allocations: 51.94 kB / 0.7301 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.5905, allocations: 119.7 kB / 0.7302 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5907, allocations: 29.86 kB / 0.7302 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.5907, allocations: 47.77 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.5908, allocations: 43.72 kB / 0.7303 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.5908, allocations: 7.938 kB / 0.7303 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.5909, allocations: 8 kB / 0.7303 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.5909, allocations: 19.91 kB / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.5909, allocations: 53.58 kB / 0.7304 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.5911, allocations: 85.73 kB / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5911, allocations: 0 / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5911, allocations: 0 / 0.7305 GB, free: 8.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.5911, allocations: 0 / 0.7305 GB, free: 8.891 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.0006456/0.5917, allocations: 462.6 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5918, allocations: 8.031 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.5918, allocations: 23.75 kB / 0.7309 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.5921, allocations: 218.7 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5921, allocations: 15.94 kB / 0.7311 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.5921, allocations: 12 kB / 0.7312 GB, free: 8.078 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.5924, allocations: 145.9 kB / 0.7313 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5924, allocations: 0 / 0.7313 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.5925, allocations: 4 kB / 0.7313 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.5925, allocations: 7.938 kB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.5927, allocations: 90.58 kB / 0.7314 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.5937, allocations: 0.7393 MB / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.5938, allocations: 54.55 kB / 0.7322 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.5939, allocations: 4 kB / 0.7322 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.5941, allocations: 130.7 kB / 0.7323 GB, free: 6.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.5941, allocations: 0 / 0.7323 GB, free: 6.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004671/0.5946, allocations: 177.3 kB / 0.7325 GB, free: 6.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.5947, allocations: 144.7 kB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.5949, allocations: 198.9 kB / 0.7328 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.5949, allocations: 29.64 kB / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.595, allocations: 132 kB / 0.733 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.595, allocations: 27.61 kB / 0.733 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.595, allocations: 4 kB / 0.733 GB, free: 6.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5951, allocations: 334.8 kB / 0.7333 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5953, allocations: 44.34 kB / 0.7333 GB, free: 5.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.5955, allocations: 145.9 kB / 0.7335 GB, free: 5.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.5957, allocations: 67.91 kB / 0.7335 GB, free: 5.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5957, allocations: 0 / 0.7335 GB, free: 5.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003931/0.5961, allocations: 213.5 kB / 0.7338 GB, free: 5.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5961, allocations: 10.19 kB / 0.7338 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5961, allocations: 4 kB / 0.7338 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5961, allocations: 8 kB / 0.7338 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5963, allocations: 39.91 kB / 0.7338 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5963, allocations: 7.953 kB / 0.7338 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.5965, allocations: 27.83 kB / 0.7338 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5965, allocations: 20.03 kB / 0.7339 GB, free: 5.074 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5966, allocations: 132 kB / 0.734 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.5966, allocations: 15.81 kB / 0.734 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.5967, allocations: 25.62 kB / 0.734 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5967, allocations: 3.984 kB / 0.734 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5967, allocations: 4 kB / 0.734 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5967, allocations: 3.953 kB / 0.734 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.5974, allocations: 0.5252 MB / 0.7346 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5974, allocations: 4 kB / 0.7346 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5976, allocations: 27.98 kB / 0.7346 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5976, allocations: 4 kB / 0.7346 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.5976, allocations: 7.938 kB / 0.7346 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5976, allocations: 4 kB / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5976, allocations: 0 / 0.7346 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.5981, allocations: 413.3 kB / 0.735 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.5982, allocations: 92.86 kB / 0.7351 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.5982, allocations: 11.94 kB / 0.7351 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5984, allocations: 12.03 kB / 0.7351 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.5984, allocations: 19.97 kB / 0.7351 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.5984, allocations: 4 kB / 0.7351 GB, free: 3.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001048/0.5986, allocations: 144.4 kB / 0.7353 GB, free: 3.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5986, allocations: 3.938 kB / 0.7353 GB, free: 3.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.5989, allocations: 31.91 kB / 0.7353 GB, free: 3.477 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 (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.0001173/0.599, allocations: 99.25 kB / 0.7354 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.5993, allocations: 128 kB / 0.7355 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5993, allocations: 0 / 0.7355 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5995, allocations: 48.73 kB / 0.7356 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.5999, allocations: 67.94 kB / 0.7356 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.6006, allocations: 386.7 kB / 0.736 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.601, allocations: 0.7361 MB / 0.7367 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.867e-05/0.601, allocations: 13.88 kB / 0.7367 GB, free: 1.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.6011, allocations: 19.44 kB / 0.7367 GB, free: 1.922 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6011, allocations: 0 / 0.7367 GB, free: 1.922 MB / 0.545 GB Notification: Performance of Templates: time 0.004523/0.6056, allocations: 1.729 MB / 0.7384 GB, free: 220 kB / 0.545 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: