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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.571/0.571, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001344/0.001344, allocations: 180.1 kB / 130.7 MB, free: 7.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.831/1.831, allocations: 170.5 MB / 324.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001609/0.001609, allocations: 103.7 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.223e-05, allocations: 0 / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.575, allocations: 61.51 MB / 0.5054 GB, free: 49.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.7518, allocations: 94.45 MB / 0.5976 GB, free: 1.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.7521, allocations: 72.55 kB / 0.5977 GB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003416/0.7556, allocations: 1.068 MB / 0.5987 GB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7556, allocations: 0.6875 kB / 0.5987 GB, free: 16 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.7556, allocations: 1.031 kB / 0.5987 GB, free: 16 kB / 410.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.0005465/0.7562, allocations: 352.5 kB / 0.5991 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.7563, allocations: 8.031 kB / 0.5991 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.7563, allocations: 13.14 kB / 0.5991 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.7565, allocations: 166.2 kB / 0.5992 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.7566, allocations: 4 kB / 0.5992 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.7566, allocations: 8.516 kB / 0.5992 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7567, allocations: 62.67 kB / 0.5993 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7568, allocations: 0 / 0.5993 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7568, allocations: 0 / 0.5993 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7568, allocations: 1.125 kB / 0.5993 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.7569, allocations: 27.98 kB / 0.5993 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.7575, allocations: 303.4 kB / 0.5996 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.7576, allocations: 51.3 kB / 0.5997 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.7577, allocations: 33.09 kB / 0.5997 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.7577, allocations: 2.219 kB / 0.5997 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.7579, allocations: 67.39 kB / 0.5998 GB, free: 14.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.7579, allocations: 0 / 0.5998 GB, free: 14.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002407/0.7581, allocations: 86.22 kB / 0.5999 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.7582, allocations: 52.28 kB / 0.5999 GB, free: 14.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.7583, allocations: 104.4 kB / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7583, allocations: 30.52 kB / 0.6 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.7584, allocations: 88.12 kB / 0.6001 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.7584, allocations: 20.94 kB / 0.6001 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.7584, allocations: 0 / 0.6001 GB, free: 14.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7586, allocations: 320.1 kB / 0.6004 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.7587, allocations: 18.73 kB / 0.6005 GB, free: 14.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.7587, allocations: 40.7 kB / 0.6005 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.7588, allocations: 29.83 kB / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7588, allocations: 2.75 kB / 0.6005 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001756/0.759, allocations: 94.7 kB / 0.6006 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.759, allocations: 8 kB / 0.6006 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.759, allocations: 0 / 0.6006 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7591, allocations: 0 / 0.6006 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.7591, allocations: 11.94 kB / 0.6006 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.7592, allocations: 4 kB / 0.6006 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.7592, allocations: 14.14 kB / 0.6007 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7593, allocations: 4 kB / 0.6007 GB, free: 13.85 MB / 426.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.pulsStart,booleanPulse.pulsStart,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.86e-05/0.7594, allocations: 120.4 kB / 0.6008 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.7594, allocations: 4.875 kB / 0.6008 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.7594, allocations: 8.094 kB / 0.6008 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7594, allocations: 9.484 kB / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7595, allocations: 0 / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.7595, allocations: 4 kB / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.76, allocations: 362.3 kB / 0.6011 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.76, allocations: 5.75 kB / 0.6012 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.76, allocations: 7.938 kB / 0.6012 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.76, allocations: 0 / 0.6012 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.76, allocations: 4 kB / 0.6012 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.76, allocations: 4 kB / 0.6012 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7601, allocations: 2.562 kB / 0.6012 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.7603, allocations: 183 kB / 0.6013 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.7603, allocations: 81.02 kB / 0.6014 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.7604, allocations: 4 kB / 0.6014 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.7605, allocations: 11.98 kB / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.7605, allocations: 7.984 kB / 0.6014 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.7605, allocations: 0 / 0.6014 GB, free: 12.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.7606, allocations: 91.31 kB / 0.6015 GB, free: 12.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7606, allocations: 0 / 0.6015 GB, free: 12.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.7608, allocations: 8 kB / 0.6015 GB, free: 12.87 MB / 426.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.pulsStart,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.000153/0.761, allocations: 103.2 kB / 0.6016 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.7611, allocations: 48.69 kB / 0.6017 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7612, allocations: 0 / 0.6017 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.7612, allocations: 27.94 kB / 0.6017 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.7614, allocations: 20.23 kB / 0.6017 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.7618, allocations: 113.5 kB / 0.6018 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.7622, allocations: 0.6848 MB / 0.6025 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.7623, allocations: 11.94 kB / 0.6025 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.7623, allocations: 15.44 kB / 0.6025 GB, free: 11.81 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7623, allocations: 0 / 0.6025 GB, free: 11.81 MB / 426.7 MB Notification: Performance of Templates: time 0.00304/0.7654, allocations: 0.6636 MB / 0.6032 GB, free: 11.19 MB / 426.7 MB 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)