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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.674/1.674, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001185/0.001185, allocations: 174.6 kB / 371.8 MB, free: 10.27 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.747/1.747, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009433/0.0009432, allocations: 86.89 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004091, allocations: 17.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7137/0.9442, allocations: 138.1 MB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.9444, allocations: 70.67 kB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01104/0.9555, allocations: 4.06 MB / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.857e-06/0.9556, allocations: 0 / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9556, allocations: 3.938 kB / 1.118 GB, free: 31.87 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.0005726/0.9561, allocations: 474.2 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.9562, allocations: 11.67 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.9563, allocations: 37.36 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.9563, allocations: 11.56 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.9565, allocations: 170.8 kB / 1.119 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.9565, allocations: 17.94 kB / 1.119 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.9566, allocations: 11.56 kB / 1.119 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.9567, allocations: 59.81 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9567, allocations: 0 / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9567, allocations: 3.25 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9567, allocations: 0 / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.9568, allocations: 24.27 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.9574, allocations: 417.5 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.9575, allocations: 39.38 kB / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.9575, allocations: 0 / 1.12 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.9577, allocations: 91.17 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.9577, allocations: 0 / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002576/0.9579, allocations: 139 kB / 1.12 GB, free: 30.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.958, allocations: 66.53 kB / 1.12 GB, free: 30.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.9581, allocations: 123.5 kB / 1.12 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.9581, allocations: 29.61 kB / 1.12 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.9582, allocations: 102.1 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.9582, allocations: 22.22 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.9583, allocations: 11.16 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9584, allocations: 320.7 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.9586, allocations: 87.45 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.9587, allocations: 136.6 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.9589, allocations: 166.4 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9589, allocations: 0 / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004645/0.9594, allocations: 378.7 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.9595, allocations: 99.27 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9595, allocations: 0.7031 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9595, allocations: 3.938 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.46e-05/0.9595, allocations: 13.53 kB / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9596, allocations: 0 / 1.121 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.96, allocations: 113.5 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.96, allocations: 17.86 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001298/0.9602, allocations: 138.3 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.9602, allocations: 10.5 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.9603, allocations: 7.75 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.9603, allocations: 3.844 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9603, allocations: 4 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9603, allocations: 0 / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.9604, allocations: 192.9 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9604, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.9605, allocations: 3.844 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9605, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.9605, allocations: 10.59 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9605, allocations: 0 / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9605, allocations: 3.938 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.9607, allocations: 142.6 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.9607, allocations: 81.02 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.9607, allocations: 6.75 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.9607, allocations: 3.844 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.9608, allocations: 9.562 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.9608, allocations: 3.844 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.9609, allocations: 102.4 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9609, allocations: 3.938 kB / 1.122 GB, free: 29.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002553/0.9611, allocations: 45.84 kB / 1.122 GB, free: 29.12 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004762/0.9616, allocations: 0.6885 MB / 1.123 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.962, allocations: 362.3 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.962, allocations: 0 / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.9621, allocations: 43.75 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.9623, allocations: 22.58 kB / 1.123 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.9632, allocations: 1.351 MB / 1.125 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.9634, allocations: 0.6999 MB / 1.125 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.9635, allocations: 4.281 kB / 1.125 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.9635, allocations: 31.95 kB / 1.125 GB, free: 26.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/0.9635, allocations: 3.844 kB / 1.125 GB, free: 26.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.9772, allocations: 3.408 MB / 1.129 GB, free: 25.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.9774, allocations: 204.8 kB / 1.129 GB, free: 25.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.528, allocations: 4 kB / 1.129 GB, free: 25.72 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)