Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001117/0.001117, allocations: 168.9 kB / 361.4 MB, free: 6.801 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.58/1.58, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008774/0.0008775, allocations: 87.2 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.835e-05, allocations: 0 / 0.8519 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.706, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.9138, allocations: 138.8 MB / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.9141, allocations: 80.22 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.9296, allocations: 5.411 MB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9297, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.9297, allocations: 7.984 kB / 1.105 GB, free: 11.48 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.0006447/0.9303, allocations: 0.5468 MB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.9304, allocations: 8.031 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.9305, allocations: 42.33 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.9308, allocations: 255.4 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.9309, allocations: 8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.9309, allocations: 35.98 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001958/0.9311, allocations: 100.6 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.9314, allocations: 143.9 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.9314, allocations: 0 / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.9314, allocations: 7.984 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.9314, allocations: 4 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.9323, allocations: 0.5908 MB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.9326, allocations: 182.6 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9327, allocations: 72.86 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.9327, allocations: 4.219 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.9331, allocations: 250.5 kB / 1.108 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.613e-06/0.9331, allocations: 3.938 kB / 1.108 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0004864/0.9336, allocations: 297.4 kB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.9336, allocations: 67.11 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.9338, allocations: 169.9 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.9339, allocations: 37.7 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.934, allocations: 137 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.934, allocations: 79.05 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.9341, allocations: 8 kB / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9342, allocations: 338.8 kB / 1.109 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.9345, allocations: 133.1 kB / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.9348, allocations: 254.2 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.9353, allocations: 165.6 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9353, allocations: 4 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001006/0.9363, allocations: 483.4 kB / 1.11 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.9364, allocations: 105.9 kB / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9365, allocations: 5.5 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.9365, allocations: 8.375 kB / 1.11 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.9366, allocations: 47.86 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9367, allocations: 4 kB / 1.11 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.9372, allocations: 127.6 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.9373, allocations: 31.98 kB / 1.11 GB, free: 6.508 MB / 0.7136 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.0001596/0.9374, allocations: 150.1 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004028/0.9378, allocations: 301 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.9379, allocations: 23.72 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.938, allocations: 23.41 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.938, allocations: 4 kB / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.938, allocations: 9.156 kB / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.938, allocations: 0 / 1.11 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.9388, allocations: 0.6467 MB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9388, allocations: 3 kB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.9389, allocations: 11.98 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9389, allocations: 4 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.9389, allocations: 7.984 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.9389, allocations: 11.89 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9389, allocations: 0 / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.9394, allocations: 399.3 kB / 1.111 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.9395, allocations: 96.86 kB / 1.112 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.9395, allocations: 11.98 kB / 1.112 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.9396, allocations: 7.984 kB / 1.112 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.9397, allocations: 38.56 kB / 1.112 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.9397, allocations: 19.98 kB / 1.112 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.9398, allocations: 111.3 kB / 1.112 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9398, allocations: 0 / 1.112 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003815/0.9402, allocations: 83.98 kB / 1.112 GB, free: 4.484 MB / 0.7136 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.0008629/0.9411, allocations: 0.9697 MB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.9418, allocations: 0.5061 MB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9418, allocations: 4.25 kB / 1.113 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.942, allocations: 132.5 kB / 1.113 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.9424, allocations: 33.83 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.9433, allocations: 362.7 kB / 1.114 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.9437, allocations: 0.7487 MB / 1.115 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.434e-05/0.9438, allocations: 31.28 kB / 1.115 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.9439, allocations: 75.41 kB / 1.115 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9439, allocations: 0 / 1.115 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.9672, allocations: 5.157 MB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.9674, allocations: 157.7 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.749, allocations: 0 / 1.12 GB, free: 12.31 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)