Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.784/2.784, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 184.7 kB / 365.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.2 MB / 0.6241 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 103.6 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.335e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8181, allocations: 115.2 MB / 0.97 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2538/1.072, allocations: 139.8 MB / 1.106 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.072, allocations: 67.97 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01584/1.088, allocations: 3.479 MB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.364e-06/1.088, allocations: 0 / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.111e-05/1.088, allocations: 5.312 kB / 1.11 GB, free: 9.172 MB / 0.7136 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.0008496/1.089, allocations: 441.4 kB / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.089, allocations: 8.844 kB / 1.11 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.089, allocations: 17.02 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/1.09, allocations: 236.1 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.09, allocations: 4 kB / 1.111 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/1.09, allocations: 15.59 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/1.09, allocations: 140.8 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.09, allocations: 1.625 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.09, allocations: 8 kB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.09, allocations: 0 / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/1.09, allocations: 47.92 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/1.092, allocations: 0.7725 MB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/1.092, allocations: 38.5 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/1.092, allocations: 24.86 kB / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/1.092, allocations: 0 / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/1.093, allocations: 106.8 kB / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.185e-06/1.093, allocations: 0 / 1.112 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003792/1.093, allocations: 109.4 kB / 1.112 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.093, allocations: 132.5 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/1.094, allocations: 179.6 kB / 1.112 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/1.094, allocations: 25.7 kB / 1.112 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.094, allocations: 139.9 kB / 1.112 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/1.094, allocations: 23.62 kB / 1.112 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/1.094, allocations: 8.062 kB / 1.112 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.094, allocations: 334.8 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.094, allocations: 24.38 kB / 1.113 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/1.094, allocations: 134.3 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/1.094, allocations: 48.05 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.094, allocations: 4 kB / 1.113 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004827/1.095, allocations: 177.1 kB / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.095, allocations: 9.094 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.095, allocations: 4 kB / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/1.095, allocations: 4 kB / 1.113 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/1.095, allocations: 40.42 kB / 1.113 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/1.095, allocations: 11.92 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/1.096, allocations: 35.2 kB / 1.113 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.096, allocations: 11.95 kB / 1.113 GB, free: 5.602 MB / 0.7136 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,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete 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.0001499/1.096, allocations: 124.9 kB / 1.113 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.096, allocations: 23.03 kB / 1.113 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-05/1.096, allocations: 21.52 kB / 1.113 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.096, allocations: 8 kB / 1.113 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.096, allocations: 0 / 1.113 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.096, allocations: 0 / 1.113 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/1.097, allocations: 497.6 kB / 1.114 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.097, allocations: 4.141 kB / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/1.098, allocations: 27.92 kB / 1.114 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/1.098, allocations: 7.984 kB / 1.114 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/1.098, allocations: 0 / 1.114 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/1.098, allocations: 4 kB / 1.114 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.098, allocations: 3.953 kB / 1.114 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/1.098, allocations: 359.7 kB / 1.114 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.098, allocations: 96.95 kB / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/1.098, allocations: 4 kB / 1.114 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/1.099, allocations: 19.92 kB / 1.114 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/1.099, allocations: 15.98 kB / 1.114 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/1.099, allocations: 4 kB / 1.114 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002072/1.099, allocations: 144.2 kB / 1.114 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.099, allocations: 0 / 1.114 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004861/1.1, allocations: 31.94 kB / 1.114 GB, free: 4.117 MB / 0.7136 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,intWitRes1.trigger,$whenCondition2) * Number of discrete 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.0002186/1.1, allocations: 103.2 kB / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003464/1.1, allocations: 91.86 kB / 1.115 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.1, allocations: 4 kB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/1.1, allocations: 35.94 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/1.101, allocations: 60.45 kB / 1.115 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/1.102, allocations: 259.9 kB / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/1.102, allocations: 0.7285 MB / 1.116 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001613/1.102, allocations: 17.55 kB / 1.116 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/1.103, allocations: 20.84 kB / 1.116 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.834e-06/1.103, allocations: 0 / 1.116 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.007955/1.111, allocations: 1.74 MB / 1.117 GB, free: 1.062 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)