Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.437/2.437, allocations: 285.6 MB / 293.1 MB, free: 10.12 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.001945/0.001944, allocations: 180.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.145/3.145, allocations: 205.2 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.001746/0.001746, allocations: 106.6 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.275e-05/9.297e-05, allocations: 4 kB / 0.8519 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.2, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/1.497, allocations: 137.6 MB / 1.099 GB, free: 2.098 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.497, allocations: 73.97 kB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01645/1.514, allocations: 3.343 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.118e-06/1.514, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.272e-05/1.514, allocations: 4 kB / 1.102 GB, free: 14.75 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001026/1.515, allocations: 465.7 kB / 1.103 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.000133/1.515, allocations: 16.02 kB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/1.515, allocations: 16.94 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.515, allocations: 178.9 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/1.515, allocations: 7.984 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.515, allocations: 16 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002123/1.516, allocations: 51.92 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/1.516, allocations: 128.5 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.516, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/1.516, allocations: 3.984 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.516, allocations: 4 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/1.517, allocations: 0.5246 MB / 1.104 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/1.518, allocations: 149.2 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.518, allocations: 53.72 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/1.518, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/1.518, allocations: 190.9 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 5.55e-06/1.518, allocations: 8 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0007056/1.519, allocations: 233 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/1.519, allocations: 85.05 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/1.519, allocations: 118.8 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-05/1.52, allocations: 41.62 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.52, allocations: 100.8 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.756e-05/1.52, allocations: 43.42 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/1.52, allocations: 4 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.52, allocations: 334.8 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/1.52, allocations: 76.27 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/1.521, allocations: 144.8 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/1.521, allocations: 101.1 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.521, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001151/1.523, allocations: 280.6 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/1.523, allocations: 75.39 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.523, allocations: 3.938 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.523, allocations: 4 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/1.523, allocations: 19.98 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.523, allocations: 10.05 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/1.524, allocations: 91.77 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/1.524, allocations: 16 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0002063/1.524, allocations: 135.1 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005807/1.524, allocations: 228.4 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/1.524, allocations: 11.91 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/1.525, allocations: 12.75 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.525, allocations: 4 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.525, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.525, allocations: 7.984 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/1.526, allocations: 0.5632 MB / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.526, allocations: 0 / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/1.526, allocations: 15.92 kB / 1.107 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.526, allocations: 0 / 1.107 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/1.526, allocations: 7.984 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.526, allocations: 7.938 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.526, allocations: 0 / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/1.526, allocations: 421 kB / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/1.527, allocations: 89 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/1.527, allocations: 14.42 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/1.527, allocations: 11.98 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.527, allocations: 23.92 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/1.527, allocations: 15.98 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.69e-05/1.527, allocations: 97.77 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/1.527, allocations: 4 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007236/1.528, allocations: 52 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001263/1.529, allocations: 1.028 MB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008431/1.53, allocations: 337.3 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.53, allocations: 0 / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/1.53, allocations: 103.9 kB / 1.109 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/1.531, allocations: 18.02 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/1.532, allocations: 242.7 kB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/1.532, allocations: 0.7087 MB / 1.11 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.824e-05/1.533, allocations: 17.2 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/1.533, allocations: 35.42 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of SimCode: time 3.587e-06/1.533, allocations: 0 / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09106/1.624, allocations: 3.316 MB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.624, allocations: 162.4 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/5.049, allocations: 0 / 1.113 GB, free: 3.141 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)