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.Switch.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.Switch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.245/2.245, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001217/0.001217, allocations: 180.9 kB / 361.4 MB, free: 6.836 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.924/3.924, 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.00129/0.00129, allocations: 92.67 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.463e-05, allocations: 4 kB / 0.8519 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.296, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/1.719, allocations: 137.5 MB / 1.099 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004981/1.72, allocations: 74.48 kB / 1.099 GB, free: 2.168 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01065/1.73, allocations: 2.212 MB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of FrontEnd: time 3.817e-06/1.731, allocations: 0 / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.371e-05/1.731, allocations: 0 / 1.101 GB, free: 12 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00102/1.732, allocations: 419.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.427e-05/1.732, allocations: 8.031 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/1.732, allocations: 17.22 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/1.732, allocations: 176.9 kB / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.732, allocations: 0 / 1.102 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/1.732, allocations: 11.94 kB / 1.102 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001511/1.732, allocations: 20 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.733, allocations: 56.22 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.733, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.733, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/1.733, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/1.734, allocations: 309.2 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/1.734, allocations: 38.5 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/1.734, allocations: 16.86 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.734, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/1.734, allocations: 67.48 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/1.734, allocations: 9.625 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003504/1.734, allocations: 73.59 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/1.735, allocations: 55.41 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/1.735, allocations: 114 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/1.735, allocations: 25.7 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/1.735, allocations: 88.14 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/1.735, allocations: 19.8 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/1.735, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003469/1.735, allocations: 326.8 kB / 1.103 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/1.736, allocations: 28 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/1.736, allocations: 58.56 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/1.736, allocations: 35.97 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.736, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005336/1.737, allocations: 140.5 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/1.737, allocations: 41.44 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.737, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.737, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/1.737, allocations: 19.98 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.737, allocations: 2.656 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/1.738, allocations: 59.95 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/1.738, allocations: 11.98 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001975/1.738, allocations: 112.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001829/1.738, allocations: 69.59 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/1.738, allocations: 11.91 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/1.738, allocations: 12.62 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.738, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.738, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.738, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.738, allocations: 162.2 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.738, allocations: 3.984 kB / 1.104 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/1.739, allocations: 19.98 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.739, allocations: 4 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.739, allocations: 0 / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.739, allocations: 0 / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.739, allocations: 0 / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/1.739, allocations: 106.5 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/1.739, allocations: 89.03 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/1.739, allocations: 0 / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.739, allocations: 19.98 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/1.739, allocations: 7.984 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/1.739, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.126e-05/1.739, allocations: 92.78 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.739, allocations: 4 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003734/1.74, allocations: 31.89 kB / 1.104 GB, free: 12.78 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009725/1.741, allocations: 0.6586 MB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003771/1.741, allocations: 123.4 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.741, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/1.741, allocations: 31.92 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.742, allocations: 12 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/1.742, allocations: 129.5 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/1.743, allocations: 0.6924 MB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.911e-05/1.743, allocations: 4.188 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/1.743, allocations: 19.42 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.743, allocations: 0 / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4428/2.186, allocations: 1.879 MB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004076/2.186, allocations: 150.9 kB / 1.108 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.016/5.202, allocations: 0 / 1.108 GB, free: 9.027 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)