Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5051/0.5051, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008821/0.0008821, allocations: 83.91 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.66e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6521, allocations: 101.4 MB / 0.6526 GB, free: 8.82 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.6523, allocations: 68.78 kB / 0.6526 GB, free: 8.785 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002931/0.6553, allocations: 1.127 MB / 0.6537 GB, free: 7.805 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6553, allocations: 0 / 0.6537 GB, free: 7.805 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.6553, allocations: 0 / 0.6537 GB, free: 7.805 MB / 458.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.0004241/0.6557, allocations: 354.8 kB / 0.6541 GB, free: 7.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6558, allocations: 8.031 kB / 0.6541 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.6558, allocations: 11.86 kB / 0.6541 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.656, allocations: 163 kB / 0.6543 GB, free: 7.199 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.656, allocations: 4 kB / 0.6543 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.6561, allocations: 4 kB / 0.6543 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.977e-05/0.6561, allocations: 22.98 kB / 0.6543 GB, free: 7.176 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.6563, allocations: 52.88 kB / 0.6543 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6563, allocations: 0 / 0.6543 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6563, allocations: 4 kB / 0.6543 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6563, allocations: 11.33 kB / 0.6543 GB, free: 7.113 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.6568, allocations: 266.7 kB / 0.6546 GB, free: 6.828 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.657, allocations: 60.88 kB / 0.6547 GB, free: 6.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.657, allocations: 23.03 kB / 0.6547 GB, free: 6.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.657, allocations: 4 kB / 0.6547 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.6572, allocations: 73.84 kB / 0.6548 GB, free: 6.668 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.6572, allocations: 0 / 0.6548 GB, free: 6.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002179/0.6574, allocations: 74.97 kB / 0.6548 GB, free: 6.598 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.6575, allocations: 59.41 kB / 0.6549 GB, free: 6.527 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.6576, allocations: 96.3 kB / 0.655 GB, free: 6.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6576, allocations: 32.95 kB / 0.655 GB, free: 6.395 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.6577, allocations: 84.05 kB / 0.6551 GB, free: 6.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.6577, allocations: 21.11 kB / 0.6551 GB, free: 6.293 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.6578, allocations: 0 / 0.6551 GB, free: 6.293 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6579, allocations: 312.8 kB / 0.6554 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.6579, allocations: 18.38 kB / 0.6554 GB, free: 5.969 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.658, allocations: 46.73 kB / 0.6555 GB, free: 5.918 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.658, allocations: 15.69 kB / 0.6555 GB, free: 5.906 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6581, allocations: 0 / 0.6555 GB, free: 5.906 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001442/0.6582, allocations: 88.7 kB / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6582, allocations: 4 kB / 0.6556 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.6582, allocations: 4 kB / 0.6556 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6583, allocations: 3.953 kB / 0.6556 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.6583, allocations: 8 kB / 0.6556 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6584, allocations: 15.95 kB / 0.6556 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.6584, allocations: 7.938 kB / 0.6556 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.6585, allocations: 4 kB / 0.6556 GB, free: 5.777 MB / 458.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 () * 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 9.506e-05/0.6586, allocations: 108.8 kB / 0.6557 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.6586, allocations: 6.969 kB / 0.6557 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.6586, allocations: 15.39 kB / 0.6557 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6586, allocations: 0 / 0.6557 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6586, allocations: 7.953 kB / 0.6557 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6586, allocations: 0 / 0.6557 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.6591, allocations: 319 kB / 0.6561 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6591, allocations: 4.172 kB / 0.6561 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.6591, allocations: 7.5 kB / 0.6561 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6591, allocations: 3.938 kB / 0.6561 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.6591, allocations: 0 / 0.6561 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6592, allocations: 15.89 kB / 0.6561 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6592, allocations: 0 / 0.6561 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.6593, allocations: 169.5 kB / 0.6562 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.6594, allocations: 77.11 kB / 0.6563 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.6594, allocations: 4 kB / 0.6563 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.6595, allocations: 7.984 kB / 0.6563 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6595, allocations: 22.11 kB / 0.6563 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.6596, allocations: 4 kB / 0.6564 GB, free: 4.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.6596, allocations: 81.97 kB / 0.6564 GB, free: 4.902 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6596, allocations: 0 / 0.6564 GB, free: 4.902 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.6598, allocations: 12 kB / 0.6564 GB, free: 4.891 MB / 458.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 () * 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 0.0001321/0.66, allocations: 95.25 kB / 0.6565 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.6601, allocations: 44.44 kB / 0.6566 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6601, allocations: 0 / 0.6566 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.6602, allocations: 27.3 kB / 0.6566 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.6604, allocations: 12.56 kB / 0.6566 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.6607, allocations: 116 kB / 0.6567 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.661, allocations: 0.6885 MB / 0.6574 GB, free: 3.879 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.661, allocations: 4 kB / 0.6574 GB, free: 3.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.6611, allocations: 15.44 kB / 0.6574 GB, free: 3.859 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6611, allocations: 0 / 0.6574 GB, free: 3.859 MB / 458.7 MB Notification: Performance of Templates: time 0.002622/0.6637, allocations: 0.631 MB / 0.658 GB, free: 3.242 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)