Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.807/1.807, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 181 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.6366 GB, free: 9.457 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 91.22 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 11.98 kB / 0.8749 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8152/1.118, allocations: 139.3 MB / 1.125 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.118, allocations: 70.5 kB / 1.125 GB, free: 35.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009353/1.128, allocations: 3.373 MB / 1.128 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.324e-06/1.128, allocations: 0 / 1.128 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.128, allocations: 4.844 kB / 1.128 GB, free: 33.03 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000587/1.128, allocations: 483.6 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.128, allocations: 12.02 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/1.128, allocations: 38.03 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/1.129, allocations: 21.3 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.129, allocations: 179.8 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/1.129, allocations: 11.42 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.129, allocations: 25.56 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.129, allocations: 124 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.129, allocations: 8.562 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.129, allocations: 3.562 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.129, allocations: 1.719 kB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/1.129, allocations: 66.58 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/1.13, allocations: 0.5462 MB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/1.13, allocations: 160.6 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.13, allocations: 8 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/1.131, allocations: 213.5 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/1.131, allocations: 0.6094 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0005659/1.131, allocations: 321.9 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.131, allocations: 85.11 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/1.131, allocations: 118.5 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/1.131, allocations: 46.2 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/1.132, allocations: 96.12 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/1.132, allocations: 54.83 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.132, allocations: 8 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/1.132, allocations: 326.4 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.132, allocations: 93.83 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/1.132, allocations: 163.8 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/1.132, allocations: 151.7 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.132, allocations: 0 / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005966/1.133, allocations: 372 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/1.133, allocations: 70.83 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.133, allocations: 1.344 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.133, allocations: 4 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/1.133, allocations: 16.16 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.133, allocations: 11.42 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/1.134, allocations: 89.62 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.134, allocations: 19.38 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001332/1.134, allocations: 151.9 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/1.134, allocations: 11.91 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/1.134, allocations: 15.92 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.134, allocations: 9.547 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.134, allocations: 0.5 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/1.134, allocations: 0 / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/1.134, allocations: 0.6151 MB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.134, allocations: 9.062 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/1.134, allocations: 9.375 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.134, allocations: 0 / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.134, allocations: 7.469 kB / 1.132 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.134, allocations: 8 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.134, allocations: 3.938 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/1.135, allocations: 432.7 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/1.135, allocations: 85.02 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/1.135, allocations: 11.47 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/1.135, allocations: 19.66 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/1.135, allocations: 31.3 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1.135, allocations: 11.92 kB / 1.133 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.95e-05/1.135, allocations: 94.75 kB / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.135, allocations: 4 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003807/1.136, allocations: 63.41 kB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006271/1.136, allocations: 1.061 MB / 1.134 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004774/1.137, allocations: 357.3 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.137, allocations: 0 / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.137, allocations: 122 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/1.137, allocations: 28.69 kB / 1.135 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/1.138, allocations: 1.76 MB / 1.136 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/1.138, allocations: 0.7059 MB / 1.137 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.153e-05/1.138, allocations: 17.98 kB / 1.137 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/1.138, allocations: 38.72 kB / 1.137 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/1.138, allocations: 0 / 1.137 GB, free: 23.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/1.156, allocations: 3.691 MB / 1.141 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.156, allocations: 175.7 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.844, allocations: 3.938 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)