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 1.697/1.697, allocations: 288.2 MB / 303.2 MB, free: 8.09 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.001068/0.001069, allocations: 181 kB / 371.8 MB, free: 10.3 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.745/1.745, allocations: 205.4 MB / 0.6305 GB, free: 10.09 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009184/0.0009186, allocations: 94.58 kB / 0.7439 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004163, allocations: 13.53 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2584, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.167, allocations: 138.3 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/1.168, allocations: 72.17 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007175/1.175, allocations: 2.222 MB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/1.175, allocations: 3.594 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.175, allocations: 0 / 1.117 GB, free: 31.45 MB / 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.0006143/1.176, allocations: 433.9 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.176, allocations: 11.83 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/1.176, allocations: 36.75 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/1.176, allocations: 3.844 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/1.176, allocations: 183.2 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/1.176, allocations: 7.344 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/1.176, allocations: 9.25 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.176, allocations: 87.97 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.176, allocations: 2.156 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.176, allocations: 3.984 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.176, allocations: 1.281 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/1.177, allocations: 95.8 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/1.177, allocations: 324 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/1.177, allocations: 69.2 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/1.177, allocations: 3.938 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/1.178, allocations: 112.4 kB / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/1.178, allocations: 0 / 1.118 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0005918/1.178, allocations: 189.8 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.178, allocations: 56.7 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/1.179, allocations: 117.9 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.179, allocations: 29.64 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/1.179, allocations: 97.91 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/1.179, allocations: 21.94 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.179, allocations: 0 / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.179, allocations: 322.4 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/1.179, allocations: 70.33 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/1.179, allocations: 96.27 kB / 1.119 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/1.179, allocations: 94.28 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.18, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004698/1.18, allocations: 236 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/1.18, allocations: 36.42 kB / 1.119 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.18, allocations: 0.7031 kB / 1.119 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.18, allocations: 3.875 kB / 1.119 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.18, allocations: 29.16 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.18, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.18, allocations: 58 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/1.18, allocations: 6.812 kB / 1.12 GB, free: 29.55 MB / 0.698 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 () * Number of clocked 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.0001294/1.181, allocations: 121.5 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/1.181, allocations: 3.906 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/1.181, allocations: 15.12 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.181, allocations: 3.938 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.181, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.181, allocations: 4 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/1.181, allocations: 186.3 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.181, allocations: 3.938 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.181, allocations: 21 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.181, allocations: 0 / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/1.181, allocations: 0 / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.181, allocations: 80 / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.181, allocations: 3.984 kB / 1.12 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/1.181, allocations: 184.7 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/1.182, allocations: 84.95 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.182, allocations: 2.766 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/1.182, allocations: 14.83 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/1.182, allocations: 10.83 kB / 1.12 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/1.182, allocations: 7.969 kB / 1.12 GB, free: 29.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.94e-05/1.182, allocations: 98.53 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000218/1.182, allocations: 31.22 kB / 1.12 GB, free: 28.95 MB / 0.698 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 () * Number of clocked 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.0008157/1.183, allocations: 0.7125 MB / 1.121 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005016/1.183, allocations: 207.4 kB / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.183, allocations: 128 / 1.121 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/1.184, allocations: 65.05 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/1.184, allocations: 18 kB / 1.121 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/1.185, allocations: 0.6924 MB / 1.122 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/1.185, allocations: 0.6884 MB / 1.123 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.318e-05/1.185, allocations: 6.594 kB / 1.123 GB, free: 26.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/1.185, allocations: 18.94 kB / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.185, allocations: 0 / 1.123 GB, free: 26.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/1.201, allocations: 2.254 MB / 1.125 GB, free: 26.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/1.202, allocations: 185.1 kB / 1.125 GB, free: 26.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.763, allocations: 1.969 kB / 1.125 GB, free: 26.43 MB / 0.698 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)