Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001286/0.001286, allocations: 195.5 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.14 kB / 0.9113 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.353, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003258/0.3563, allocations: 1.532 MB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.3571, allocations: 446.8 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3572, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.3573, allocations: 3.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.3574, allocations: 7.922 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3575, allocations: 23.91 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.291e-05/0.3576, allocations: 39.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3578, allocations: 27.97 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.3578, allocations: 15.94 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.3579, allocations: 19.91 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3579, allocations: 7.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.3579, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.358, allocations: 15.97 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3581, allocations: 23.81 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3582, allocations: 35.89 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3582, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3582, allocations: 3.984 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3583, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8262 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.0005696/0.3588, allocations: 355.7 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3589, allocations: 12.02 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.3589, allocations: 8.844 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3591, allocations: 172.3 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3591, allocations: 384 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3591, allocations: 4.375 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3592, allocations: 65.92 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3592, allocations: 4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3593, allocations: 4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3593, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.3593, allocations: 23.98 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.3598, allocations: 308.6 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.36, allocations: 58.66 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.36, allocations: 16.86 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.36, allocations: 4 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.3602, allocations: 75.41 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3603, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002261/0.3605, allocations: 97.56 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3605, allocations: 59.39 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.3606, allocations: 109.8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3606, allocations: 29.69 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.3607, allocations: 88.14 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3607, allocations: 23.66 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3608, allocations: 33.64 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3609, allocations: 314.8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.361, allocations: 19.98 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.3611, allocations: 47.42 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.3611, allocations: 63.56 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3612, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001936/0.3614, allocations: 101.6 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3614, allocations: 8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3614, allocations: 4.031 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3614, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.3615, allocations: 15.92 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3615, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.3616, allocations: 7.906 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3616, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 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.226e-05/0.3617, allocations: 127.1 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.3617, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3617, allocations: 11.97 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3617, allocations: 7.938 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.3622, allocations: 362.3 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3622, allocations: 480 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.3623, allocations: 4 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3623, allocations: 3.984 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3623, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3623, allocations: 7.938 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3623, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.3625, allocations: 175.5 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.3625, allocations: 92.94 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3625, allocations: 3.938 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.3626, allocations: 11.94 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3627, allocations: 7.984 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.3627, allocations: 4 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.3627, allocations: 87.27 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3627, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002345/0.363, allocations: 12 kB / 1.073 GB, free: 5.406 MB / 0.8262 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 9.579e-05/0.3631, allocations: 107.2 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3632, allocations: 51.91 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3632, allocations: 0 / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.3633, allocations: 28 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3636, allocations: 12.05 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.364, allocations: 178.9 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3643, allocations: 0.6848 MB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.3643, allocations: 12.41 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3643, allocations: 11.44 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3643, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.002721/0.3671, allocations: 0.682 MB / 1.074 GB, free: 3.59 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)