Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_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.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001934/0.001933, allocations: 185 kB / 377.1 MB, free: 1.535 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.631/1.631, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0008513/0.0008513, allocations: 95.47 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7343/0.9905, allocations: 140.5 MB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.9907, allocations: 79 kB / 1.126 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01413/1.005, allocations: 5.461 MB / 1.131 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.695e-06/1.005, allocations: 0 / 1.131 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.53e-05/1.005, allocations: 7.984 kB / 1.131 GB, free: 30.64 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006088/1.006, allocations: 0.5675 MB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.006, allocations: 12.86 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/1.006, allocations: 57.41 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/1.006, allocations: 32.41 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.006, allocations: 261.9 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/1.006, allocations: 27.94 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/1.006, allocations: 33.5 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/1.006, allocations: 180.4 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.006, allocations: 0 / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/1.007, allocations: 11.7 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.007, allocations: 4.844 kB / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.007, allocations: 112 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.008, allocations: 0.6307 MB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/1.008, allocations: 210.7 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/1.008, allocations: 4 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/1.009, allocations: 257.7 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/1.009, allocations: 4 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0006716/1.009, allocations: 429.3 kB / 1.134 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.009, allocations: 63.06 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.009, allocations: 173.3 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/1.01, allocations: 46.88 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/1.01, allocations: 135 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/1.01, allocations: 94.88 kB / 1.134 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/1.01, allocations: 12 kB / 1.134 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/1.01, allocations: 344 kB / 1.135 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/1.01, allocations: 150.9 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/1.01, allocations: 282 kB / 1.135 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/1.011, allocations: 238.8 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.011, allocations: 0 / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008297/1.012, allocations: 0.602 MB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/1.012, allocations: 103.1 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.012, allocations: 4.547 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.012, allocations: 8.312 kB / 1.136 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/1.012, allocations: 49.12 kB / 1.136 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.012, allocations: 12.66 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/1.012, allocations: 125.4 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/1.013, allocations: 32.41 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.000158/1.013, allocations: 180 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/1.013, allocations: 24.98 kB / 1.136 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/1.013, allocations: 28.72 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.013, allocations: 4 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.013, allocations: 0.75 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/1.013, allocations: 6.344 kB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/1.014, allocations: 0.7255 MB / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.014, allocations: 0 / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/1.014, allocations: 19.02 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.014, allocations: 0.6562 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/1.014, allocations: 12.59 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.014, allocations: 3.953 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.014, allocations: 6.672 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/1.014, allocations: 434.8 kB / 1.138 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/1.014, allocations: 97.42 kB / 1.138 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/1.014, allocations: 12.92 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.014, allocations: 16.55 kB / 1.138 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/1.014, allocations: 29.8 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.014, allocations: 15.14 kB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.569e-05/1.015, allocations: 127 kB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.015, allocations: 3.938 kB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003693/1.015, allocations: 99.38 kB / 1.138 GB, free: 23.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0006362/1.016, allocations: 0.9885 MB / 1.139 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006384/1.016, allocations: 0.5563 MB / 1.139 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.016, allocations: 4 kB / 1.139 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/1.016, allocations: 149.1 kB / 1.14 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1.017, allocations: 42.19 kB / 1.14 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/1.018, allocations: 3.066 MB / 1.143 GB, free: 19.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/1.018, allocations: 0.7522 MB / 1.143 GB, free: 18.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.414e-05/1.018, allocations: 31.58 kB / 1.143 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/1.018, allocations: 69.67 kB / 1.143 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of SimCode: time 5e-07/1.018, allocations: 0 / 1.143 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/1.036, allocations: 5.58 MB / 1.149 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.036, allocations: 189 kB / 1.149 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.968, allocations: 0 / 1.149 GB, free: 14.94 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)