Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.648/1.648, allocations: 251.9 MB / 0.51 GB, free: 4.84 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005719/0.000572, allocations: 12 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6372, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00176/0.639, allocations: 1.172 MB / 0.7291 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007963/0.6398, allocations: 471.7 kB / 0.7296 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.6398, allocations: 3.938 kB / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.6399, allocations: 3.938 kB / 0.7296 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.64, allocations: 7.984 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.6401, allocations: 19.92 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.6402, allocations: 23.97 kB / 0.7296 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.6403, allocations: 19.98 kB / 0.7296 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.955e-05/0.6404, allocations: 15.92 kB / 0.7296 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.6405, allocations: 23.91 kB / 0.7297 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.6405, allocations: 0 / 0.7297 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.6405, allocations: 4 kB / 0.7297 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.6405, allocations: 3.938 kB / 0.7297 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.6406, allocations: 37.69 kB / 0.7297 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.122e-05/0.6406, allocations: 29.92 kB / 0.7297 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6406, allocations: 0 / 0.7297 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6407, allocations: 4 kB / 0.7297 GB, free: 9.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.6407, allocations: 0 / 0.7297 GB, free: 9.555 MB / 0.545 GB 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.0005297/0.6412, allocations: 351.2 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6413, allocations: 12.02 kB / 0.7301 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.6413, allocations: 7.906 kB / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.6415, allocations: 175 kB / 0.7303 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.6415, allocations: 4 kB / 0.7303 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.6415, allocations: 8 kB / 0.7303 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.6416, allocations: 57.67 kB / 0.7303 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.6417, allocations: 4 kB / 0.7303 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6417, allocations: 0 / 0.7303 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6417, allocations: 0 / 0.7303 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.6418, allocations: 27.92 kB / 0.7304 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.6423, allocations: 312.7 kB / 0.7307 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.655e-05/0.6424, allocations: 58.62 kB / 0.7307 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.6424, allocations: 0 / 0.7307 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.6426, allocations: 67.58 kB / 0.7308 GB, free: 8.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.866e-06/0.6426, allocations: 11.92 kB / 0.7308 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002208/0.6428, allocations: 105.5 kB / 0.7309 GB, free: 8.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6429, allocations: 51.41 kB / 0.7309 GB, free: 8.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.643, allocations: 109.8 kB / 0.731 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.643, allocations: 25.7 kB / 0.7311 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.643, allocations: 88.14 kB / 0.7312 GB, free: 7.906 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.6431, allocations: 27.69 kB / 0.7312 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6431, allocations: 3.938 kB / 0.7312 GB, free: 7.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6432, allocations: 318.8 kB / 0.7315 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.6432, allocations: 15.98 kB / 0.7315 GB, free: 7.539 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.6433, allocations: 51.36 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.6433, allocations: 16 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.6434, allocations: 0 / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001521/0.6435, allocations: 93.52 kB / 0.7317 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6435, allocations: 12.03 kB / 0.7317 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.6435, allocations: 0 / 0.7317 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6436, allocations: 4 kB / 0.7317 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.6436, allocations: 15.89 kB / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6437, allocations: 0 / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.6437, allocations: 19.92 kB / 0.7317 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.6437, allocations: 0 / 0.7317 GB, free: 7.312 MB / 0.545 GB 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.123e-05/0.6438, allocations: 117.8 kB / 0.7318 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.6439, allocations: 7.969 kB / 0.7318 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.6439, allocations: 11.97 kB / 0.7318 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6439, allocations: 4 kB / 0.7318 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6439, allocations: 3.953 kB / 0.7318 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6439, allocations: 3.984 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.6443, allocations: 354.8 kB / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6443, allocations: 0 / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.6444, allocations: 8 kB / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6444, allocations: 0 / 0.7322 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6444, allocations: 8.047 kB / 0.7322 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6444, allocations: 3.938 kB / 0.7322 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6444, allocations: 0 / 0.7322 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.6446, allocations: 183.4 kB / 0.7324 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.6446, allocations: 77.11 kB / 0.7325 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6446, allocations: 4 kB / 0.7325 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.6447, allocations: 23.88 kB / 0.7325 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.6448, allocations: 7.984 kB / 0.7325 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6448, allocations: 288 / 0.7325 GB, free: 6.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.6449, allocations: 87.27 kB / 0.7326 GB, free: 6.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6449, allocations: 0 / 0.7326 GB, free: 6.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000238/0.6451, allocations: 12 kB / 0.7326 GB, free: 6.312 MB / 0.545 GB 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 0.0001185/0.6452, allocations: 106.5 kB / 0.7327 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.6454, allocations: 59.86 kB / 0.7327 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6454, allocations: 0 / 0.7327 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.6454, allocations: 23.98 kB / 0.7328 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.6456, allocations: 10.75 kB / 0.7328 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.646, allocations: 180.6 kB / 0.733 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.6464, allocations: 0.6887 MB / 0.7336 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.6464, allocations: 7.984 kB / 0.7336 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.6464, allocations: 11.44 kB / 0.7336 GB, free: 5.18 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6464, allocations: 0 / 0.7336 GB, free: 5.18 MB / 0.545 GB Notification: Performance of Templates: time 0.002626/0.6491, allocations: 0.6458 MB / 0.7343 GB, free: 4.535 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: