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.676/1.676, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001066/0.001066, allocations: 183.2 kB / 377.1 MB, free: 1.562 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.905/1.905, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.001151/0.001151, allocations: 94.58 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2807, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8329/1.114, allocations: 139.3 MB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.114, allocations: 71.86 kB / 1.125 GB, free: 35.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00659/1.121, allocations: 2.226 MB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.424e-06/1.121, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.121, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 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.000563/1.121, allocations: 434.7 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/1.121, allocations: 12.02 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/1.121, allocations: 42.5 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/1.121, allocations: 6.062 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/1.122, allocations: 174.9 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.122, allocations: 11.94 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/1.122, allocations: 7.438 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/1.122, allocations: 91.95 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.122, allocations: 1.641 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.122, allocations: 0 / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.122, allocations: 4 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/1.122, allocations: 101.1 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/1.123, allocations: 321 kB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/1.123, allocations: 67.8 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/1.123, allocations: 0 / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/1.123, allocations: 116 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/1.123, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0007696/1.124, allocations: 190 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.124, allocations: 55.41 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.124, allocations: 116.8 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/1.124, allocations: 29.7 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/1.125, allocations: 96.08 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/1.125, allocations: 12.83 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/1.125, allocations: 7.422 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/1.125, allocations: 318.8 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/1.125, allocations: 78 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.125, allocations: 95.77 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/1.125, allocations: 96.89 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.125, allocations: 0.5625 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005224/1.126, allocations: 235.4 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.126, allocations: 34.64 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.126, allocations: 0 / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.126, allocations: 4.688 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/1.126, allocations: 26.84 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/1.126, allocations: 0.9375 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/1.126, allocations: 58.02 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/1.126, allocations: 4 kB / 1.129 GB, free: 31 MB / 0.7292 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 8.526e-05/1.126, allocations: 121.7 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/1.127, allocations: 8.406 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/1.127, allocations: 15.89 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/1.127, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.127, allocations: 3.938 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.127, allocations: 4.516 kB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/1.127, allocations: 184 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.127, allocations: 0.9375 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/1.127, allocations: 19.56 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.127, allocations: 0.75 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.127, allocations: 7.469 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.127, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.127, allocations: 0.625 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/1.127, allocations: 179.8 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/1.127, allocations: 92.52 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/1.127, allocations: 0 / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/1.127, allocations: 15.98 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/1.128, allocations: 8.266 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/1.128, allocations: 4 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.401e-05/1.128, allocations: 104.5 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.128, allocations: 0 / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002231/1.128, allocations: 23.47 kB / 1.13 GB, free: 30.2 MB / 0.7292 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.0008431/1.129, allocations: 0.711 MB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000669/1.129, allocations: 213.2 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.129, allocations: 4.125 kB / 1.131 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/1.13, allocations: 59.41 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/1.13, allocations: 20.56 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/1.131, allocations: 0.6981 MB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/1.131, allocations: 0.6878 MB / 1.132 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.67e-05/1.131, allocations: 9.75 kB / 1.133 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/1.131, allocations: 19.44 kB / 1.133 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.131, allocations: 0 / 1.133 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/1.148, allocations: 2.248 MB / 1.135 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.148, allocations: 182 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.81, allocations: 0 / 1.135 GB, free: 26.3 MB / 0.7292 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)