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.851/1.851, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001407/0.001407, allocations: 172.9 kB / 366.7 MB, free: 1.699 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.815/1.815, allocations: 205.3 MB / 0.626 GB, free: 7.195 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.0008653/0.0008651, allocations: 89.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.175e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7603, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.9718, allocations: 139.8 MB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.9721, allocations: 79.94 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01889/0.991, allocations: 5.401 MB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.467e-06/0.991, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.9911, allocations: 8 kB / 1.115 GB, free: 4.91 MB / 0.7136 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.001061/0.9922, allocations: 0.5541 MB / 1.116 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.9922, allocations: 8.25 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.9924, allocations: 35.7 kB / 1.116 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.9931, allocations: 268.3 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.9931, allocations: 12 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.9933, allocations: 27.98 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000381/0.9937, allocations: 96.62 kB / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.9942, allocations: 147.9 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.9942, allocations: 0 / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.9942, allocations: 8.641 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.9943, allocations: 11.98 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.9958, allocations: 0.5908 MB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.9962, allocations: 190.5 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.9964, allocations: 68.86 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.9964, allocations: 4 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.997, allocations: 237.9 kB / 1.117 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.956e-06/0.997, allocations: 0 / 1.117 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0008092/0.9979, allocations: 309.1 kB / 1.118 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.9979, allocations: 71.34 kB / 1.118 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.9982, allocations: 157.9 kB / 1.118 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.9983, allocations: 45.69 kB / 1.118 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.9985, allocations: 129.1 kB / 1.118 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.9986, allocations: 83.05 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.9987, allocations: 4 kB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9989, allocations: 338.8 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.9993, allocations: 133.1 kB / 1.119 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.9999, allocations: 250.2 kB / 1.119 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/1.001, allocations: 172 kB / 1.119 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.001, allocations: 0 / 1.119 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001778/1.003, allocations: 492.8 kB / 1.119 GB, free: 276 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.003, allocations: 101.1 kB / 1.12 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.003, allocations: 4 kB / 1.12 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/1.003, allocations: 8 kB / 1.12 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/1.003, allocations: 39.86 kB / 1.12 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.003, allocations: 9.406 kB / 1.12 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/1.004, allocations: 128 kB / 1.12 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/1.004, allocations: 35.92 kB / 1.12 GB, free: 15.93 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 () * 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.0002321/1.004, allocations: 146.1 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006009/1.005, allocations: 297.1 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/1.005, allocations: 27.72 kB / 1.12 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.914e-05/1.005, allocations: 35.33 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.005, allocations: 4 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/1.005, allocations: 3.953 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.005, allocations: 0 / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/1.006, allocations: 0.6388 MB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.007, allocations: 0 / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/1.007, allocations: 23.92 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.007, allocations: 7 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/1.007, allocations: 7.984 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.007, allocations: 7.953 kB / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.007, allocations: 0 / 1.121 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/1.007, allocations: 403 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/1.007, allocations: 96.86 kB / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.008, allocations: 7.969 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/1.008, allocations: 8 kB / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/1.008, allocations: 39.78 kB / 1.121 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/1.008, allocations: 19.98 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001177/1.008, allocations: 119.2 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/1.008, allocations: 0 / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006307/1.009, allocations: 87.98 kB / 1.122 GB, free: 13.89 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) * 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.0009135/1.01, allocations: 0.9494 MB / 1.123 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007295/1.01, allocations: 0.5134 MB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.01, allocations: 0 / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.01, allocations: 132.2 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/1.011, allocations: 32.86 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/1.012, allocations: 351.3 kB / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/1.012, allocations: 0.7526 MB / 1.124 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001142/1.012, allocations: 27.28 kB / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.012, allocations: 76.62 kB / 1.124 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.012, allocations: 0 / 1.124 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/1.04, allocations: 5.166 MB / 1.129 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.04, allocations: 153.7 kB / 1.13 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/3.085, allocations: 0 / 1.13 GB, free: 5.727 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)