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.0009075/0.0009075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009722/0.0009723, allocations: 193.8 kB / 16.13 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.166/1.166, allocations: 205.1 MB / 222 MB, free: 4.781 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.319/1.319, allocations: 251.7 MB / 0.5088 GB, free: 3.328 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.001259/0.001259, allocations: 67.91 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002632/0.3551, allocations: 1.877 MB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007848/0.3559, allocations: 0.5928 MB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.356, allocations: 3.938 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3561, allocations: 19.86 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.3562, allocations: 15.8 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3563, allocations: 63.94 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3565, allocations: 155.5 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3566, allocations: 49.64 kB / 0.7265 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.3567, allocations: 55.72 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.3568, allocations: 59.64 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3568, allocations: 4 kB / 0.7266 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.3568, allocations: 8 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.3569, allocations: 27.86 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.3569, allocations: 59.61 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3571, allocations: 129.4 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3571, allocations: 0 / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.22e-07/0.3571, allocations: 0 / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3571, allocations: 0 / 0.7268 GB, free: 10.03 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.0005861/0.3577, allocations: 466.8 kB / 0.7273 GB, free: 9.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.3577, allocations: 16.03 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3577, allocations: 24.59 kB / 0.7273 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.358, allocations: 224 kB / 0.7275 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.358, allocations: 12.38 kB / 0.7275 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.358, allocations: 16.28 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3583, allocations: 150 kB / 0.7277 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3583, allocations: 8 kB / 0.7277 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3583, allocations: 4 kB / 0.7277 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3583, allocations: 4 kB / 0.7277 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3585, allocations: 67.88 kB / 0.7278 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.3593, allocations: 0.7354 MB / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3594, allocations: 50.48 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.3595, allocations: 40.83 kB / 0.7286 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3596, allocations: 0 / 0.7286 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3598, allocations: 118.7 kB / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3598, allocations: 0 / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004125/0.3602, allocations: 177.1 kB / 0.7289 GB, free: 7.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.3603, allocations: 132.7 kB / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3604, allocations: 202.9 kB / 0.7292 GB, free: 7.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3605, allocations: 29.7 kB / 0.7292 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.3605, allocations: 131.8 kB / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3606, allocations: 39.8 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3606, allocations: 41.7 kB / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.3607, allocations: 326.8 kB / 0.7297 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3608, allocations: 35.97 kB / 0.7298 GB, free: 6.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.361, allocations: 153.5 kB / 0.7299 GB, free: 6.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3613, allocations: 206.5 kB / 0.7301 GB, free: 6.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3613, allocations: 0 / 0.7301 GB, free: 6.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003471/0.3616, allocations: 212.9 kB / 0.7303 GB, free: 6.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.3616, allocations: 8 kB / 0.7303 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3617, allocations: 4.5 kB / 0.7303 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3617, allocations: 11.98 kB / 0.7303 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3618, allocations: 31.92 kB / 0.7304 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3618, allocations: 4 kB / 0.7304 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.3619, allocations: 27.83 kB / 0.7304 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.362, allocations: 12 kB / 0.7304 GB, free: 5.984 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.458e-05/0.362, allocations: 137.7 kB / 0.7305 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.3621, allocations: 15.81 kB / 0.7306 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.3621, allocations: 21.41 kB / 0.7306 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3621, allocations: 4 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3621, allocations: 0 / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3621, allocations: 7.984 kB / 0.7306 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.3628, allocations: 0.5095 MB / 0.7311 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3628, allocations: 4.062 kB / 0.7311 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3629, allocations: 23.92 kB / 0.7311 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3629, allocations: 4 kB / 0.7311 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.363, allocations: 4 kB / 0.7311 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.363, allocations: 4 kB / 0.7311 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.363, allocations: 3.938 kB / 0.7311 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.3634, allocations: 360.1 kB / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.3635, allocations: 88.92 kB / 0.7316 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3635, allocations: 8 kB / 0.7316 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.3636, allocations: 16.02 kB / 0.7316 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3637, allocations: 11.92 kB / 0.7316 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3637, allocations: 12 kB / 0.7316 GB, free: 4.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.685e-05/0.3638, allocations: 144.4 kB / 0.7317 GB, free: 4.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3638, allocations: 0 / 0.7317 GB, free: 4.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002951/0.3641, allocations: 24 kB / 0.7318 GB, free: 4.488 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.933e-05/0.3642, allocations: 113.9 kB / 0.7319 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3645, allocations: 112.1 kB / 0.732 GB, free: 4.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3645, allocations: 4 kB / 0.732 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3646, allocations: 51.84 kB / 0.732 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3651, allocations: 60.31 kB / 0.7321 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.3656, allocations: 391 kB / 0.7325 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3658, allocations: 0.7206 MB / 0.7332 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.96e-05/0.3659, allocations: 25.67 kB / 0.7332 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3659, allocations: 15.44 kB / 0.7332 GB, free: 2.949 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3659, allocations: 0 / 0.7332 GB, free: 2.949 MB / 0.545 GB Notification: Performance of Templates: time 0.003657/0.3696, allocations: 1.817 MB / 0.735 GB, free: 1.156 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (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)