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 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.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.0009687/0.0009742, allocations: 172.8 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4917/0.4917, allocations: 86.28 MB / 103.8 MB, free: 14.53 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.384/1.384, allocations: 223.3 MB / 348.4 MB, free: 4.949 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.0008798/0.0008798, allocations: 93.66 kB / 420.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 12 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 71.02 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.499, allocations: 100.8 MB / 0.6579 GB, free: 8.676 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.4994, allocations: 69.22 kB / 0.6579 GB, free: 8.609 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003737/0.5032, allocations: 1.133 MB / 0.659 GB, free: 7.477 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5032, allocations: 0 / 0.659 GB, free: 7.477 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5032, allocations: 4 kB / 0.659 GB, free: 7.473 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.0005148/0.5038, allocations: 359.4 kB / 0.6594 GB, free: 7.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5038, allocations: 12.03 kB / 0.6594 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.5039, allocations: 4.844 kB / 0.6594 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.504, allocations: 172.4 kB / 0.6596 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.5041, allocations: 8.297 kB / 0.6596 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.5041, allocations: 4.375 kB / 0.6596 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5042, allocations: 58.25 kB / 0.6596 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.5043, allocations: 4.125 kB / 0.6596 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.5043, allocations: 11.94 kB / 0.6596 GB, free: 6.758 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5043, allocations: 0 / 0.6596 GB, free: 6.758 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.5044, allocations: 27.97 kB / 0.6597 GB, free: 6.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.5049, allocations: 304.8 kB / 0.66 GB, free: 6.383 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.505, allocations: 62.53 kB / 0.66 GB, free: 6.312 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.5051, allocations: 24.94 kB / 0.66 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5051, allocations: 0 / 0.66 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.5053, allocations: 71.3 kB / 0.6601 GB, free: 6.203 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.5054, allocations: 4 kB / 0.6601 GB, free: 6.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002316/0.5056, allocations: 97.61 kB / 0.6602 GB, free: 6.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5057, allocations: 59.34 kB / 0.6603 GB, free: 6.027 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.5057, allocations: 105.8 kB / 0.6604 GB, free: 5.914 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.5058, allocations: 25.7 kB / 0.6604 GB, free: 5.883 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.5058, allocations: 92.05 kB / 0.6605 GB, free: 5.789 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.5059, allocations: 27.69 kB / 0.6605 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.5059, allocations: 0 / 0.6605 GB, free: 5.762 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.506, allocations: 322.8 kB / 0.6608 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.506, allocations: 15.98 kB / 0.6608 GB, free: 5.422 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.5061, allocations: 47.42 kB / 0.6609 GB, free: 5.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.5062, allocations: 59.38 kB / 0.6609 GB, free: 5.293 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5062, allocations: 0 / 0.6609 GB, free: 5.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001418/0.5064, allocations: 97.61 kB / 0.661 GB, free: 5.191 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5064, allocations: 4 kB / 0.661 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5064, allocations: 0 / 0.661 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5064, allocations: 4 kB / 0.661 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.5065, allocations: 11.94 kB / 0.661 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5065, allocations: 7.922 kB / 0.6611 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.5066, allocations: 15.94 kB / 0.6611 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.5066, allocations: 0 / 0.6611 GB, free: 5.148 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 9.712e-05/0.5067, allocations: 125.8 kB / 0.6612 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.5067, allocations: 3.906 kB / 0.6612 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.5067, allocations: 11.95 kB / 0.6612 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5068, allocations: 4.656 kB / 0.6612 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5068, allocations: 0 / 0.6612 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5068, allocations: 3.984 kB / 0.6612 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.5072, allocations: 366.2 kB / 0.6616 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5072, allocations: 4 kB / 0.6616 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.5072, allocations: 8 kB / 0.6616 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5072, allocations: 0 / 0.6616 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5073, allocations: 12.05 kB / 0.6616 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5073, allocations: 0 / 0.6616 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5073, allocations: 3.938 kB / 0.6616 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.5074, allocations: 175.5 kB / 0.6618 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.5075, allocations: 85 kB / 0.6618 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5075, allocations: 4 kB / 0.6618 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.5076, allocations: 8 kB / 0.6618 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5077, allocations: 11.92 kB / 0.6619 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.5077, allocations: 4 kB / 0.6619 GB, free: 4.227 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.5077, allocations: 83.27 kB / 0.6619 GB, free: 4.145 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5077, allocations: 0 / 0.6619 GB, free: 4.145 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.508, allocations: 16 kB / 0.662 GB, free: 4.129 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 9.748e-05/0.5081, allocations: 99.25 kB / 0.6621 GB, free: 4.023 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.5082, allocations: 55.86 kB / 0.6621 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5082, allocations: 0 / 0.6621 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.5083, allocations: 23.98 kB / 0.6621 GB, free: 3.945 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5086, allocations: 11.98 kB / 0.6621 GB, free: 3.934 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.509, allocations: 185 kB / 0.6623 GB, free: 3.727 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5093, allocations: 0.6848 MB / 0.663 GB, free: 3.016 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.5093, allocations: 7.984 kB / 0.663 GB, free: 3.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.5093, allocations: 11.44 kB / 0.663 GB, free: 2.996 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5093, allocations: 0 / 0.663 GB, free: 2.996 MB / 474.7 MB Notification: Performance of Templates: time 0.002655/0.512, allocations: 0.6537 MB / 0.6636 GB, free: 2.348 MB / 474.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)