Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.4 MB / 304.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001199, allocations: 178.2 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 0.6317 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008215, allocations: 90.88 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 11.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2469, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8097/1.057, allocations: 138.7 MB / 1.116 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/1.057, allocations: 72.67 kB / 1.116 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003292/1.06, allocations: 1.114 MB / 1.117 GB, free: 32.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.06, allocations: 0 / 1.117 GB, free: 32.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.06, allocations: 0 / 1.117 GB, free: 32.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003913/1.061, allocations: 349.4 kB / 1.118 GB, free: 31.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/1.061, allocations: 7.688 kB / 1.118 GB, free: 31.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/1.061, allocations: 8.75 kB / 1.118 GB, free: 31.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.061, allocations: 183.1 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.061, allocations: 3 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/1.061, allocations: 4.25 kB / 1.118 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/1.061, allocations: 62.27 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.061, allocations: 192 / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.061, allocations: 3.938 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.061, allocations: 3.812 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/1.061, allocations: 25.95 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/1.062, allocations: 306.5 kB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.658e-05/1.062, allocations: 52.56 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/1.062, allocations: 23.42 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/1.062, allocations: 2.516 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/1.062, allocations: 82.8 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/1.062, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001967/1.062, allocations: 99.28 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.062, allocations: 55.31 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/1.062, allocations: 100.4 kB / 1.119 GB, free: 31.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.062, allocations: 32.33 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/1.062, allocations: 89.2 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/1.062, allocations: 19.06 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.062, allocations: 0 / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.062, allocations: 325.1 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/1.062, allocations: 16.55 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/1.063, allocations: 44.69 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/1.063, allocations: 73.81 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.063, allocations: 3.938 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000119/1.063, allocations: 93.64 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.063, allocations: 3.875 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.063, allocations: 5.672 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.063, allocations: 0 / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/1.063, allocations: 15.5 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.063, allocations: 3.875 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/1.063, allocations: 14.59 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.063, allocations: 7.875 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.384e-05/1.063, allocations: 122.3 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/1.063, allocations: 10.34 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/1.063, allocations: 13.03 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.063, allocations: 3.875 kB / 1.12 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.063, allocations: 0 / 1.12 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/1.063, allocations: 0 / 1.12 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/1.063, allocations: 362.9 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.063, allocations: 3.812 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/1.064, allocations: 0 / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/1.064, allocations: 3.875 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/1.064, allocations: 2.156 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.064, allocations: 3.938 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.064, allocations: 3.938 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/1.064, allocations: 183.2 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/1.064, allocations: 83.73 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.064, allocations: 3.5 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/1.064, allocations: 6.625 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/1.064, allocations: 14.2 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/1.064, allocations: 0 / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.411e-05/1.064, allocations: 85.5 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.064, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002467/1.064, allocations: 22.62 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.391e-05/1.064, allocations: 101.3 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.064, allocations: 50.23 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.064, allocations: 3.906 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/1.064, allocations: 24.39 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.065, allocations: 9.344 kB / 1.12 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/1.065, allocations: 184.7 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/1.065, allocations: 0.6855 MB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.047e-05/1.065, allocations: 6.156 kB / 1.121 GB, free: 28.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/1.065, allocations: 15.34 kB / 1.121 GB, free: 28.76 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.065, allocations: 0 / 1.121 GB, free: 28.76 MB / 0.698 GB Notification: Performance of Templates: time 0.002422/1.068, allocations: 0.6657 MB / 1.122 GB, free: 28.69 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)