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.004459/0.004459, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.0009859/0.0009858, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.223/1.223, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.255/1.255, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.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.001384/0.001384, allocations: 71.89 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4834, allocations: 104.7 MB / 0.828 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003154/0.4866, allocations: 1.82 MB / 0.8298 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.4876, allocations: 0.5851 MB / 0.8304 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4878, allocations: 7.938 kB / 0.8304 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.4879, allocations: 27.72 kB / 0.8304 GB, free: 180 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.488, allocations: 23.75 kB / 0.8304 GB, free: 156 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.4882, allocations: 75.84 kB / 0.8305 GB, free: 80 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.4884, allocations: 167.6 kB / 0.8307 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4886, allocations: 53.62 kB / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.4887, allocations: 59.56 kB / 0.8308 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.4888, allocations: 51.7 kB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.4888, allocations: 12 kB / 0.8308 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.4888, allocations: 8 kB / 0.8308 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.4888, allocations: 31.84 kB / 0.8309 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.4889, allocations: 63.61 kB / 0.8309 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.4891, allocations: 139 kB / 0.8311 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4891, allocations: 0 / 0.8311 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.113e-06/0.4891, allocations: 0 / 0.8311 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.4891, allocations: 4 kB / 0.8311 GB, free: 15.5 MB / 0.6387 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.0006575/0.4898, allocations: 472.9 kB / 0.8315 GB, free: 15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.4898, allocations: 8.031 kB / 0.8315 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.4899, allocations: 20.75 kB / 0.8316 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.4902, allocations: 244.9 kB / 0.8318 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4902, allocations: 8.375 kB / 0.8318 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.4902, allocations: 12.38 kB / 0.8318 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.4905, allocations: 149.1 kB / 0.832 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4905, allocations: 3.938 kB / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4905, allocations: 4 kB / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4905, allocations: 11.94 kB / 0.832 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.4907, allocations: 71.81 kB / 0.832 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.4915, allocations: 0.7354 MB / 0.8328 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.4917, allocations: 42.56 kB / 0.8328 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.4918, allocations: 36.83 kB / 0.8328 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4918, allocations: 0 / 0.8328 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.492, allocations: 134.7 kB / 0.833 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.492, allocations: 0 / 0.833 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.4925, allocations: 169.5 kB / 0.8331 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.4925, allocations: 132.5 kB / 0.8332 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4927, allocations: 199 kB / 0.8334 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4927, allocations: 29.7 kB / 0.8335 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.4928, allocations: 127.8 kB / 0.8336 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4928, allocations: 35.55 kB / 0.8336 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.4929, allocations: 41.7 kB / 0.8337 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.493, allocations: 326.8 kB / 0.834 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4931, allocations: 39.97 kB / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4933, allocations: 154.4 kB / 0.8342 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.4936, allocations: 198.4 kB / 0.8343 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4936, allocations: 0 / 0.8343 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003455/0.4939, allocations: 209.2 kB / 0.8345 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4939, allocations: 11.98 kB / 0.8346 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4939, allocations: 4 kB / 0.8346 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.494, allocations: 4 kB / 0.8346 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.4941, allocations: 35.92 kB / 0.8346 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4941, allocations: 8.406 kB / 0.8346 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4942, allocations: 31.83 kB / 0.8346 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4942, allocations: 16 kB / 0.8347 GB, free: 11.45 MB / 0.6387 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 9.792e-05/0.4944, allocations: 137.7 kB / 0.8348 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4944, allocations: 15.81 kB / 0.8348 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.4944, allocations: 21.64 kB / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4944, allocations: 7.969 kB / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4944, allocations: 0 / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4945, allocations: 4 kB / 0.8348 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.4951, allocations: 0.5209 MB / 0.8353 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4951, allocations: 0 / 0.8353 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4952, allocations: 15.98 kB / 0.8354 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4952, allocations: 4 kB / 0.8354 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4953, allocations: 4 kB / 0.8354 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4953, allocations: 8 kB / 0.8354 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.4953, allocations: 3.938 kB / 0.8354 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.4957, allocations: 352.2 kB / 0.8357 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.4958, allocations: 92.92 kB / 0.8358 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4958, allocations: 15.97 kB / 0.8358 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4959, allocations: 11.98 kB / 0.8358 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.496, allocations: 19.86 kB / 0.8358 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.496, allocations: 4 kB / 0.8358 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001077/0.4961, allocations: 144.4 kB / 0.836 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4961, allocations: 0 / 0.836 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002996/0.4964, allocations: 24 kB / 0.836 GB, free: 9.957 MB / 0.6387 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 0.0001137/0.4966, allocations: 111.2 kB / 0.8361 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.4969, allocations: 120.7 kB / 0.8362 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4969, allocations: 0 / 0.8362 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.497, allocations: 51.97 kB / 0.8363 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4975, allocations: 65.41 kB / 0.8363 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.498, allocations: 352.5 kB / 0.8367 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.4983, allocations: 0.7281 MB / 0.8374 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.664e-05/0.4983, allocations: 13.88 kB / 0.8374 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.4984, allocations: 19.44 kB / 0.8374 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.4984, allocations: 4 kB / 0.8374 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of Templates: time 0.004387/0.5028, allocations: 2.036 MB / 0.8394 GB, free: 6.434 MB / 0.6387 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)