Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.642/1.642, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 97.86 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.935e-05/4.939e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2466, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/1.011, allocations: 132 MB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.012, allocations: 75.33 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006192/1.018, allocations: 2.269 MB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/1.018, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.018, allocations: 4.188 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000691/1.019, allocations: 493.3 kB / 1.024 GB, free: 132 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.019, allocations: 8.031 kB / 1.024 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/1.019, allocations: 52.73 kB / 1.024 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/1.019, allocations: 31.75 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/1.019, allocations: 219.7 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/1.019, allocations: 19.06 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/1.019, allocations: 27.8 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/1.019, allocations: 168.8 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.019, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/1.019, allocations: 15.8 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.02, allocations: 7.953 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/1.02, allocations: 112.4 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/1.021, allocations: 0.5518 MB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/1.021, allocations: 219.5 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/1.021, allocations: 102.6 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/1.021, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/1.022, allocations: 260.7 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/1.022, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0005254/1.022, allocations: 327.7 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.022, allocations: 63.16 kB / 1.026 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/1.022, allocations: 144.8 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/1.022, allocations: 44.39 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/1.022, allocations: 115.2 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/1.023, allocations: 81.58 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/1.023, allocations: 14.06 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.023, allocations: 334.1 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.023, allocations: 92.06 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/1.023, allocations: 147.1 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/1.023, allocations: 92.53 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.023, allocations: 0 / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000426/1.024, allocations: 320.9 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.024, allocations: 4 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.024, allocations: 7.938 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.024, allocations: 8 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/1.024, allocations: 39.67 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.024, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/1.024, allocations: 50.77 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/1.024, allocations: 15.75 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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.0001217/1.024, allocations: 154.8 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/1.024, allocations: 23.72 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/1.024, allocations: 21.81 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.024, allocations: 7.938 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.024, allocations: 0 / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.024, allocations: 3.984 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/1.025, allocations: 0.7513 MB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.025, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/1.025, allocations: 15.92 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/1.025, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/1.026, allocations: 14.86 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.026, allocations: 4 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.026, allocations: 3.953 kB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/1.026, allocations: 424.4 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/1.026, allocations: 96.86 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/1.026, allocations: 15.05 kB / 1.029 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.026, allocations: 35.09 kB / 1.029 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/1.026, allocations: 35.25 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.026, allocations: 27.19 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.991e-05/1.027, allocations: 108.2 kB / 1.029 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002834/1.027, allocations: 70.11 kB / 1.029 GB, free: 11.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.0008219/1.028, allocations: 0.985 MB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003862/1.028, allocations: 266.4 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.028, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/1.028, allocations: 161.9 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/1.029, allocations: 35.73 kB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/1.029, allocations: 361 kB / 1.031 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.03, allocations: 0.7412 MB / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.568e-05/1.03, allocations: 30.97 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.03, allocations: 66.66 kB / 1.031 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/1.03, allocations: 0 / 1.031 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/1.045, allocations: 4.214 MB / 1.036 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.045, allocations: 163.2 kB / 1.036 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.759, allocations: 2.953 kB / 1.036 GB, free: 4.605 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)