Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.000973, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009266/0.009266, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.589/1.589, allocations: 252 MB / 0.5105 GB, free: 4.633 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.000652/0.0006523, allocations: 19.44 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5027, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002128/0.5049, allocations: 1.196 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000784/0.5057, allocations: 483.4 kB / 0.7303 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.5058, allocations: 7.938 kB / 0.7303 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.5058, allocations: 0 / 0.7303 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.5059, allocations: 3.938 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.5061, allocations: 19.98 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.5062, allocations: 47.91 kB / 0.7304 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.5063, allocations: 15.98 kB / 0.7304 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.5064, allocations: 19.86 kB / 0.7305 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.5065, allocations: 15.92 kB / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.5065, allocations: 0 / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.5065, allocations: 8 kB / 0.7305 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.5065, allocations: 15.92 kB / 0.7305 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.5066, allocations: 41.62 kB / 0.7305 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.5067, allocations: 41.78 kB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5067, allocations: 0 / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5067, allocations: 3.984 kB / 0.7306 GB, free: 9.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5067, allocations: 0 / 0.7306 GB, free: 9.328 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000508/0.5072, allocations: 355.4 kB / 0.7309 GB, free: 8.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5073, allocations: 12.03 kB / 0.7309 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.5073, allocations: 8.844 kB / 0.7309 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5075, allocations: 168.3 kB / 0.7311 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.5075, allocations: 4.375 kB / 0.7311 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.5075, allocations: 12.36 kB / 0.7311 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.5077, allocations: 54 kB / 0.7312 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5077, allocations: 3.938 kB / 0.7312 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5077, allocations: 3.984 kB / 0.7312 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5077, allocations: 8 kB / 0.7312 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.5078, allocations: 19.98 kB / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.5083, allocations: 312.6 kB / 0.7315 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.5084, allocations: 58.59 kB / 0.7315 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.5085, allocations: 20.91 kB / 0.7316 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5085, allocations: 4.094 kB / 0.7316 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.5087, allocations: 71.33 kB / 0.7316 GB, free: 8.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.5087, allocations: 0 / 0.7316 GB, free: 8.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002287/0.5089, allocations: 105.5 kB / 0.7317 GB, free: 7.961 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.5089, allocations: 51.41 kB / 0.7318 GB, free: 7.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.232e-05/0.509, allocations: 109.8 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5091, allocations: 29.7 kB / 0.7319 GB, free: 7.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.5091, allocations: 92.03 kB / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.5091, allocations: 19.8 kB / 0.732 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.5092, allocations: 17.72 kB / 0.732 GB, free: 7.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.5093, allocations: 322.8 kB / 0.7324 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.5093, allocations: 16 kB / 0.7324 GB, free: 7.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.5094, allocations: 55.3 kB / 0.7324 GB, free: 7.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.5095, allocations: 63.42 kB / 0.7325 GB, free: 7.129 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5095, allocations: 0 / 0.7325 GB, free: 7.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000146/0.5097, allocations: 101.5 kB / 0.7326 GB, free: 7.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5097, allocations: 8 kB / 0.7326 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5097, allocations: 0 / 0.7326 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5097, allocations: 0 / 0.7326 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.5098, allocations: 12.03 kB / 0.7326 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5098, allocations: 4.375 kB / 0.7326 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.5099, allocations: 15.92 kB / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5099, allocations: 4.281 kB / 0.7326 GB, free: 6.98 MB / 0.545 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/0.51, allocations: 126.5 kB / 0.7327 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.51, allocations: 11.84 kB / 0.7328 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.5101, allocations: 7.969 kB / 0.7328 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5101, allocations: 0 / 0.7328 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5101, allocations: 8 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5101, allocations: 3.984 kB / 0.7328 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.5105, allocations: 358.4 kB / 0.7331 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5105, allocations: 0 / 0.7331 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.5105, allocations: 4 kB / 0.7331 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5105, allocations: 0 / 0.7331 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5106, allocations: 4 kB / 0.7331 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.5106, allocations: 15.88 kB / 0.7331 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5106, allocations: 0 / 0.7331 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.5108, allocations: 175.4 kB / 0.7333 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.5108, allocations: 81.05 kB / 0.7334 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.5108, allocations: 4 kB / 0.7334 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.5109, allocations: 15.92 kB / 0.7334 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.511, allocations: 11.98 kB / 0.7334 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.511, allocations: 0 / 0.7334 GB, free: 6.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.511, allocations: 83.28 kB / 0.7335 GB, free: 5.988 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.204e-06/0.5111, allocations: 0 / 0.7335 GB, free: 5.988 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002377/0.5113, allocations: 19.94 kB / 0.7335 GB, free: 5.969 MB / 0.545 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 (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.0001108/0.5114, allocations: 99.23 kB / 0.7336 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.5115, allocations: 51.92 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5116, allocations: 0 / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.5116, allocations: 40.11 kB / 0.7337 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.5119, allocations: 8 kB / 0.7337 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.5123, allocations: 176.6 kB / 0.7339 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.5126, allocations: 0.6887 MB / 0.7345 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.5126, allocations: 4 kB / 0.7345 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.5126, allocations: 11.44 kB / 0.7346 GB, free: 4.84 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5126, allocations: 0 / 0.7346 GB, free: 4.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002812/0.5155, allocations: 0.6881 MB / 0.7352 GB, free: 4.16 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: