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.698/2.698, allocations: 285 MB / 292.5 MB, free: 10.48 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.002043/0.002042, allocations: 176.9 kB / 360.7 MB, free: 7.223 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 2.115/2.115, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.00106/0.001059, allocations: 87.34 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.357e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8219, allocations: 115.2 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.072, allocations: 139.1 MB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.072, allocations: 75.95 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01551/1.087, allocations: 3.453 MB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/1.088, allocations: 0 / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.186e-05/1.088, allocations: 4.75 kB / 1.103 GB, free: 13.85 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.0008576/1.088, allocations: 440.9 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.089, allocations: 15.59 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/1.089, allocations: 17.02 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/1.089, allocations: 222.7 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.089, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/1.089, allocations: 11.48 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001623/1.089, allocations: 36 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/1.09, allocations: 121 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/1.09, allocations: 7.984 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/1.09, allocations: 1.406 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.09, allocations: 0 / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/1.091, allocations: 0.7243 MB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.091, allocations: 30.58 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/1.091, allocations: 24.8 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.091, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/1.092, allocations: 106.7 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/1.092, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003223/1.092, allocations: 97.42 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/1.092, allocations: 132.5 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/1.092, allocations: 157.7 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.092, allocations: 29.69 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.092, allocations: 131.9 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/1.092, allocations: 35.55 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.092, allocations: 3.938 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.093, allocations: 328.4 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/1.093, allocations: 20.38 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.093, allocations: 129.6 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/1.093, allocations: 39.92 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.093, allocations: 3.953 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003847/1.093, allocations: 154.1 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.094, allocations: 8 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.094, allocations: 4 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.094, allocations: 4.5 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/1.094, allocations: 43.92 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.094, allocations: 11.92 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/1.094, allocations: 23.89 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/1.094, allocations: 8 kB / 1.106 GB, free: 10.47 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.0001257/1.094, allocations: 124.6 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.094, allocations: 23.77 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/1.094, allocations: 17.83 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.095, allocations: 4 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.095, allocations: 3 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.095, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/1.096, allocations: 474.2 kB / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.096, allocations: 4 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.096, allocations: 19.98 kB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/1.096, allocations: 3.938 kB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/1.096, allocations: 8 kB / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.096, allocations: 0 / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.096, allocations: 0 / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/1.096, allocations: 344.1 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.096, allocations: 88.92 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/1.097, allocations: 15.97 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/1.097, allocations: 19.36 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.097, allocations: 19.88 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.097, allocations: 4 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001428/1.097, allocations: 124.3 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.097, allocations: 0 / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004991/1.098, allocations: 31.92 kB / 1.107 GB, free: 9.059 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.0001909/1.098, allocations: 95.25 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000273/1.098, allocations: 83.8 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.098, allocations: 0 / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/1.098, allocations: 35.94 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/1.099, allocations: 51.73 kB / 1.107 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/1.1, allocations: 251.8 kB / 1.108 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/1.1, allocations: 0.7246 MB / 1.108 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001354/1.1, allocations: 17.33 kB / 1.108 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/1.1, allocations: 15.44 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.1, allocations: 0.9375 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.006744/1.107, allocations: 1.607 MB / 1.11 GB, free: 6.188 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)