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 2.036/2.036, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001208/0.001207, allocations: 185.6 kB / 371.6 MB, free: 3.418 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.513/1.513, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008869/0.0008869, allocations: 95.94 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.747e-05, allocations: 7.984 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.123, allocations: 140.4 MB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/1.124, allocations: 77.05 kB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01382/1.137, allocations: 5.432 MB / 1.122 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/1.137, allocations: 4 kB / 1.122 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.137, allocations: 4 kB / 1.122 GB, free: 40.68 MB / 0.7448 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.0007711/1.138, allocations: 0.552 MB / 1.123 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/1.138, allocations: 8.031 kB / 1.123 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.856e-05/1.138, allocations: 52.83 kB / 1.123 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/1.138, allocations: 35.05 kB / 1.123 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/1.139, allocations: 259.4 kB / 1.123 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/1.139, allocations: 26.61 kB / 1.123 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/1.139, allocations: 38.8 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/1.139, allocations: 173.9 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.139, allocations: 1.641 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/1.139, allocations: 15.55 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.139, allocations: 4 kB / 1.124 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/1.14, allocations: 104.6 kB / 1.124 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/1.141, allocations: 0.6315 MB / 1.124 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/1.141, allocations: 201.1 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/1.141, allocations: 93.92 kB / 1.125 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/1.141, allocations: 0 / 1.125 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/1.142, allocations: 248.3 kB / 1.125 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.704e-06/1.142, allocations: 0 / 1.125 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005609/1.142, allocations: 341.9 kB / 1.125 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.142, allocations: 70.86 kB / 1.125 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.142, allocations: 175.8 kB / 1.125 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/1.142, allocations: 44.2 kB / 1.125 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/1.143, allocations: 141.4 kB / 1.126 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/1.143, allocations: 81.22 kB / 1.126 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/1.143, allocations: 13.25 kB / 1.126 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/1.143, allocations: 336.7 kB / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/1.143, allocations: 152.1 kB / 1.126 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/1.143, allocations: 271.5 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/1.144, allocations: 246.3 kB / 1.127 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.144, allocations: 0 / 1.127 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008554/1.145, allocations: 0.5907 MB / 1.127 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/1.145, allocations: 99.53 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.145, allocations: 5.109 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.145, allocations: 16.27 kB / 1.127 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/1.145, allocations: 50.22 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.145, allocations: 4 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/1.145, allocations: 127.2 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/1.146, allocations: 30.98 kB / 1.127 GB, free: 36.52 MB / 0.7448 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 () * 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.0001544/1.146, allocations: 166.5 kB / 1.128 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/1.146, allocations: 28.02 kB / 1.128 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/1.146, allocations: 26.91 kB / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.146, allocations: 4 kB / 1.128 GB, free: 36.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.146, allocations: 3.953 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.146, allocations: 3.469 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/1.147, allocations: 0.7124 MB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/1.147, allocations: 0.75 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/1.147, allocations: 20.23 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.147, allocations: 0 / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.147, allocations: 18.08 kB / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.147, allocations: 0 / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.147, allocations: 0 / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/1.147, allocations: 426.6 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/1.147, allocations: 108.2 kB / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/1.147, allocations: 12.38 kB / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.147, allocations: 18.09 kB / 1.129 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/1.148, allocations: 25.14 kB / 1.129 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/1.148, allocations: 18.41 kB / 1.129 GB, free: 35.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.426e-05/1.148, allocations: 126.8 kB / 1.129 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.148, allocations: 3.938 kB / 1.129 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004006/1.148, allocations: 102.6 kB / 1.129 GB, free: 35.06 MB / 0.7448 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) * 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.0006618/1.149, allocations: 0.9874 MB / 1.13 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006157/1.149, allocations: 0.5494 MB / 1.131 GB, free: 33.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.149, allocations: 4.25 kB / 1.131 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/1.15, allocations: 143.9 kB / 1.131 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/1.15, allocations: 41.09 kB / 1.131 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/1.151, allocations: 374.1 kB / 1.131 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/1.151, allocations: 0.7561 MB / 1.132 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.242e-05/1.151, allocations: 34.02 kB / 1.132 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/1.151, allocations: 71.06 kB / 1.132 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.151, allocations: 0 / 1.132 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/1.169, allocations: 5.689 MB / 1.138 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001268/1.169, allocations: 166.6 kB / 1.138 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.176, allocations: 4 kB / 1.138 GB, free: 29.04 MB / 0.7448 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)