Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6862/0.6862, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009774/0.0009774, allocations: 172.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 78.42 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.599e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 76.76 MB / 0.6281 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5916, allocations: 103.2 MB / 0.7289 GB, free: 10.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.5918, allocations: 74.95 kB / 0.729 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003051/0.5949, allocations: 1.099 MB / 0.7301 GB, free: 9.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5949, allocations: 0 / 0.7301 GB, free: 9.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5949, allocations: 7.938 kB / 0.7301 GB, free: 9.105 MB / 490.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.0003879/0.5953, allocations: 344.1 kB / 0.7304 GB, free: 8.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5954, allocations: 8.031 kB / 0.7304 GB, free: 8.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.5954, allocations: 12.48 kB / 0.7304 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5956, allocations: 174.9 kB / 0.7306 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.5956, allocations: 0 / 0.7306 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.5956, allocations: 7.562 kB / 0.7306 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.5957, allocations: 51.69 kB / 0.7307 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5958, allocations: 4.547 kB / 0.7307 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5958, allocations: 3.625 kB / 0.7307 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5958, allocations: 0 / 0.7307 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.5959, allocations: 31.81 kB / 0.7307 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.5964, allocations: 309 kB / 0.731 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.5965, allocations: 54.59 kB / 0.7311 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.5966, allocations: 27.75 kB / 0.7311 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.5966, allocations: 0 / 0.7311 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.5967, allocations: 70.59 kB / 0.7311 GB, free: 7.934 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.5968, allocations: 0 / 0.7311 GB, free: 7.934 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001817/0.5969, allocations: 92.36 kB / 0.7312 GB, free: 7.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.597, allocations: 55.41 kB / 0.7313 GB, free: 7.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/0.5971, allocations: 96.66 kB / 0.7314 GB, free: 7.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5971, allocations: 33.02 kB / 0.7314 GB, free: 7.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.5972, allocations: 84.12 kB / 0.7315 GB, free: 7.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5972, allocations: 23.52 kB / 0.7315 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5972, allocations: 3.188 kB / 0.7315 GB, free: 7.543 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5973, allocations: 318.1 kB / 0.7318 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.5974, allocations: 19.94 kB / 0.7318 GB, free: 7.211 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.5974, allocations: 46.38 kB / 0.7319 GB, free: 7.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.5975, allocations: 23.23 kB / 0.7319 GB, free: 7.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5975, allocations: 0 / 0.7319 GB, free: 7.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001375/0.5976, allocations: 88.69 kB / 0.732 GB, free: 7.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5976, allocations: 7.984 kB / 0.732 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5977, allocations: 7.984 kB / 0.732 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5977, allocations: 4 kB / 0.732 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.5978, allocations: 11.94 kB / 0.732 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5978, allocations: 0 / 0.732 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.5978, allocations: 15.89 kB / 0.732 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5979, allocations: 7.875 kB / 0.732 GB, free: 7.016 MB / 490.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 6.6e-05/0.5979, allocations: 110.8 kB / 0.7321 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.5979, allocations: 3.875 kB / 0.7322 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.598, allocations: 15.34 kB / 0.7322 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.598, allocations: 7.953 kB / 0.7322 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.598, allocations: 0 / 0.7322 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.598, allocations: 0 / 0.7322 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.5984, allocations: 356 kB / 0.7325 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5985, allocations: 7.984 kB / 0.7325 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.5985, allocations: 0 / 0.7325 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.5985, allocations: 12.23 kB / 0.7325 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5985, allocations: 0 / 0.7325 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5985, allocations: 0 / 0.7325 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5985, allocations: 0 / 0.7325 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5987, allocations: 181.1 kB / 0.7327 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.5987, allocations: 89 kB / 0.7328 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5988, allocations: 3.953 kB / 0.7328 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.5989, allocations: 14.8 kB / 0.7328 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.5989, allocations: 7.984 kB / 0.7328 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.5989, allocations: 4 kB / 0.7328 GB, free: 6.172 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.599, allocations: 83.03 kB / 0.7329 GB, free: 6.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.599, allocations: 0 / 0.7329 GB, free: 6.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.5992, allocations: 15.25 kB / 0.7329 GB, free: 6.082 MB / 490.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.0001127/0.5993, allocations: 99.73 kB / 0.733 GB, free: 5.977 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.5994, allocations: 54.98 kB / 0.7331 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5995, allocations: 4.062 kB / 0.7331 GB, free: 5.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.5995, allocations: 27 kB / 0.7331 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.5997, allocations: 7.938 kB / 0.7331 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.6, allocations: 112 kB / 0.7332 GB, free: 5.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.6003, allocations: 0.6965 MB / 0.7339 GB, free: 5.059 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.6003, allocations: 4 kB / 0.7339 GB, free: 5.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.6004, allocations: 15.42 kB / 0.7339 GB, free: 5.039 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6004, allocations: 0 / 0.7339 GB, free: 5.039 MB / 490.7 MB Notification: Performance of Templates: time 0.002592/0.603, allocations: 0.6705 MB / 0.7346 GB, free: 4.383 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)