Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4464/0.4464, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007359/0.0007358, allocations: 98.5 kB / 420.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003929, allocations: 12 kB / 0.4901 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 71.02 MB / 0.5594 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4373, allocations: 100.9 MB / 0.658 GB, free: 8.578 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.4376, allocations: 73.25 kB / 0.658 GB, free: 8.508 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003949/0.4416, allocations: 1.413 MB / 0.6594 GB, free: 7.098 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4416, allocations: 4 kB / 0.6594 GB, free: 7.094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4416, allocations: 0 / 0.6594 GB, free: 7.094 MB / 474.7 MB 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.0004088/0.442, allocations: 359.4 kB / 0.6598 GB, free: 6.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4421, allocations: 8.031 kB / 0.6598 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.4421, allocations: 8.844 kB / 0.6598 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4423, allocations: 176.2 kB / 0.6599 GB, free: 6.465 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4423, allocations: 4.375 kB / 0.6599 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.4423, allocations: 8.375 kB / 0.6599 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.4424, allocations: 58.23 kB / 0.66 GB, free: 6.391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4425, allocations: 192 / 0.66 GB, free: 6.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4425, allocations: 3.938 kB / 0.66 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4425, allocations: 0 / 0.66 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.4426, allocations: 27.92 kB / 0.66 GB, free: 6.359 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.443, allocations: 300.8 kB / 0.6603 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4432, allocations: 58.62 kB / 0.6604 GB, free: 5.949 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.4432, allocations: 20.91 kB / 0.6604 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.4432, allocations: 4 kB / 0.6604 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.4435, allocations: 83.22 kB / 0.6605 GB, free: 5.828 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.4435, allocations: 0 / 0.6605 GB, free: 5.828 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.000269/0.4438, allocations: 97.61 kB / 0.6606 GB, free: 5.727 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4438, allocations: 55.41 kB / 0.6606 GB, free: 5.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.4439, allocations: 109.8 kB / 0.6607 GB, free: 5.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4439, allocations: 29.64 kB / 0.6608 GB, free: 5.508 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.444, allocations: 92.12 kB / 0.6608 GB, free: 5.414 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.444, allocations: 19.66 kB / 0.6609 GB, free: 5.395 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.444, allocations: 8 kB / 0.6609 GB, free: 5.387 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4441, allocations: 322.8 kB / 0.6612 GB, free: 5.062 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.4442, allocations: 12 kB / 0.6612 GB, free: 5.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.4442, allocations: 43.42 kB / 0.6612 GB, free: 4.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.4443, allocations: 67.36 kB / 0.6613 GB, free: 4.918 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4444, allocations: 4 kB / 0.6613 GB, free: 4.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001436/0.4445, allocations: 89.8 kB / 0.6614 GB, free: 4.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4445, allocations: 8 kB / 0.6614 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4446, allocations: 0 / 0.6614 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4446, allocations: 3.984 kB / 0.6614 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.4447, allocations: 23.94 kB / 0.6614 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4447, allocations: 4 kB / 0.6614 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.4447, allocations: 7.906 kB / 0.6614 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4448, allocations: 7.984 kB / 0.6614 GB, free: 4.766 MB / 474.7 MB 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.769e-05/0.4449, allocations: 124.9 kB / 0.6616 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.4449, allocations: 4 kB / 0.6616 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.4449, allocations: 7.969 kB / 0.6616 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4449, allocations: 4 kB / 0.6616 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4449, allocations: 0 / 0.6616 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4449, allocations: 0 / 0.6616 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.4454, allocations: 370.7 kB / 0.6619 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4454, allocations: 4.031 kB / 0.6619 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.4454, allocations: 11.92 kB / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4454, allocations: 0 / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4454, allocations: 0 / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4455, allocations: 0 / 0.6619 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4455, allocations: 7.938 kB / 0.662 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4456, allocations: 183.5 kB / 0.6621 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.4457, allocations: 84.95 kB / 0.6622 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4457, allocations: 0 / 0.6622 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.4458, allocations: 11.98 kB / 0.6622 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.4459, allocations: 15.92 kB / 0.6622 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.4459, allocations: 0 / 0.6622 GB, free: 3.852 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.502e-05/0.4459, allocations: 79.28 kB / 0.6623 GB, free: 3.773 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.6623 GB, free: 3.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.4462, allocations: 16 kB / 0.6623 GB, free: 3.758 MB / 474.7 MB 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 8.565e-05/0.4462, allocations: 99.25 kB / 0.6624 GB, free: 3.652 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.4464, allocations: 59.84 kB / 0.6625 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4464, allocations: 0 / 0.6625 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.4465, allocations: 20 kB / 0.6625 GB, free: 3.574 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4467, allocations: 11.98 kB / 0.6625 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.447, allocations: 160.7 kB / 0.6627 GB, free: 3.375 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.4473, allocations: 0.6887 MB / 0.6633 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.4473, allocations: 4 kB / 0.6633 GB, free: 2.656 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.4473, allocations: 11.44 kB / 0.6633 GB, free: 2.645 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4473, allocations: 288 / 0.6633 GB, free: 2.645 MB / 474.7 MB Notification: Performance of Templates: time 0.002698/0.45, allocations: 0.6652 MB / 0.664 GB, free: 1.984 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)