Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.406/2.406, allocations: 391.2 MB / 407 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 204.9 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001123, allocations: 107.7 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 52.55 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2477, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002318/0.25, allocations: 1.527 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.2506, allocations: 435.8 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.2506, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2507, allocations: 3.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.2508, allocations: 7.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.2509, allocations: 19.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.251, allocations: 47.86 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2511, allocations: 19.97 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.2511, allocations: 19.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.2512, allocations: 15.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2512, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2512, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.2512, allocations: 11.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.2513, allocations: 15.94 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 7.661e-05/0.2514, allocations: 43.86 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2514, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2514, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2514, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 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.0004526/0.2519, allocations: 361.3 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2519, allocations: 15.98 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.2519, allocations: 4.844 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.252, allocations: 172.3 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.252, allocations: 4.375 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2521, allocations: 4.375 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/0.2522, allocations: 61.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2522, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2522, allocations: 7.984 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2522, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.2523, allocations: 23.92 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.2527, allocations: 304.6 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.2528, allocations: 62.59 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.2528, allocations: 20.95 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.2528, allocations: 3.984 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.253, allocations: 71.33 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.253, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0001991/0.2532, allocations: 105.5 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.2532, allocations: 59.41 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.2533, allocations: 105.8 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2533, allocations: 25.7 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.2534, allocations: 88.12 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.2534, allocations: 19.72 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.2534, allocations: 33.64 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.2535, allocations: 322.8 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2535, allocations: 16 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.2536, allocations: 43.42 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.2536, allocations: 67.36 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2536, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001078/0.2537, allocations: 101.5 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2538, allocations: 8.031 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2538, allocations: 3.984 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2538, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.2539, allocations: 11.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2539, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.2539, allocations: 15.98 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.254, allocations: 7.984 kB / 1.222 GB, free: 112.7 MB / 0.823 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 6.388e-05/0.254, allocations: 124.2 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.254, allocations: 8.188 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.2541, allocations: 11.97 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2541, allocations: 3.984 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2541, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2541, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2544, allocations: 362.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2544, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.2544, allocations: 7.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2544, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2544, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2545, allocations: 7.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2545, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.2547, allocations: 0.7434 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2547, allocations: 77.11 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2548, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.2548, allocations: 11.98 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.2549, allocations: 15.92 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2549, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.309e-05/0.2549, allocations: 79.28 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2549, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003138/0.2553, allocations: 16 kB / 1.224 GB, free: 111.1 MB / 0.823 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 8.447e-05/0.2553, allocations: 95.23 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.2555, allocations: 59.92 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2555, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.2555, allocations: 27.92 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2558, allocations: 14.75 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.2563, allocations: 306.4 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2564, allocations: 0.6848 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.2564, allocations: 7.984 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.2565, allocations: 15.38 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2565, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of Templates: time 0.002534/0.259, allocations: 0.7144 MB / 1.226 GB, free: 109.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)