Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.00126/0.00126, allocations: 184.6 kB / 371.6 MB, free: 3.395 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.705/1.705, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.001058/0.001058, allocations: 93.53 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.119e-05/6.143e-05, allocations: 4 kB / 0.8663 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.278, allocations: 139.2 MB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.278, allocations: 74.12 kB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006398/1.284, allocations: 2.222 MB / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.284, allocations: 4 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.284, allocations: 0 / 1.118 GB, free: 43.14 MB / 0.7448 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.0004292/1.285, allocations: 417 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.285, allocations: 8.031 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/1.285, allocations: 30.56 kB / 1.119 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/1.285, allocations: 18.41 kB / 1.119 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/1.285, allocations: 178.3 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.285, allocations: 5.688 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/1.285, allocations: 11.94 kB / 1.119 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/1.285, allocations: 53.22 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.285, allocations: 3.422 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.285, allocations: 0 / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.285, allocations: 4 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/1.285, allocations: 18.83 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/1.286, allocations: 331.5 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/1.286, allocations: 33.58 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/1.286, allocations: 16.05 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/1.286, allocations: 0.5625 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.286, allocations: 83.36 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/1.286, allocations: 0.6562 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001913/1.286, allocations: 74.48 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/1.286, allocations: 55.41 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/1.286, allocations: 122.2 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.286, allocations: 30.36 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/1.286, allocations: 97.78 kB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/1.286, allocations: 11.62 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.286, allocations: 4 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/1.286, allocations: 321.9 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/1.287, allocations: 37.44 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/1.287, allocations: 56.88 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.822e-05/1.287, allocations: 62.98 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.287, allocations: 0 / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002482/1.287, allocations: 164.2 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.287, allocations: 41.2 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.287, allocations: 0 / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.287, allocations: 4 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.287, allocations: 23.41 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.287, allocations: 0.5625 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/1.287, allocations: 57.38 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/1.288, allocations: 14.45 kB / 1.12 GB, free: 40.88 MB / 0.7448 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 6.425e-05/1.288, allocations: 108.8 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/1.288, allocations: 8.469 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/1.288, allocations: 17.12 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.288, allocations: 0 / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.288, allocations: 0.5 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.288, allocations: 3.422 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.928e-05/1.288, allocations: 187.2 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.288, allocations: 1.312 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/1.288, allocations: 19.33 kB / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.288, allocations: 0 / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.288, allocations: 11.94 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.288, allocations: 0 / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.288, allocations: 4.891 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/1.288, allocations: 109.2 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/1.288, allocations: 81.02 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/1.288, allocations: 0 / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/1.288, allocations: 23.44 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/1.288, allocations: 10.88 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/1.288, allocations: 4 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.712e-05/1.288, allocations: 92.52 kB / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.288, allocations: 0 / 1.121 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002073/1.289, allocations: 27.38 kB / 1.121 GB, free: 40.19 MB / 0.7448 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.0003508/1.289, allocations: 0.6534 MB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002023/1.289, allocations: 143.2 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.289, allocations: 0 / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/1.289, allocations: 22.75 kB / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/1.289, allocations: 15.47 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/1.29, allocations: 140.3 kB / 1.122 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.29, allocations: 0.6947 MB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.747e-05/1.29, allocations: 2.688 kB / 1.123 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/1.29, allocations: 25.38 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of SimCode: time 3.21e-07/1.29, allocations: 3.938 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/1.303, allocations: 2.267 MB / 1.125 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.303, allocations: 159 kB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.859, allocations: 0 / 1.125 GB, free: 37.07 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)