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 2.751/2.751, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.00172/0.00172, allocations: 180.8 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.814/2.814, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001311/0.001311, allocations: 88.33 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.079e-05, allocations: 8 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.124, allocations: 115.3 MB / 0.9645 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3007/1.425, allocations: 137.4 MB / 1.099 GB, free: 2.445 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/1.426, allocations: 74.08 kB / 1.099 GB, free: 2.375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02234/1.448, allocations: 4.038 MB / 1.103 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.567e-06/1.448, allocations: 4 kB / 1.103 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.698e-05/1.448, allocations: 0 / 1.103 GB, free: 14.41 MB / 0.7136 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.0009866/1.449, allocations: 455.5 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/1.449, allocations: 8.031 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/1.449, allocations: 16.94 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.45, allocations: 171.7 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/1.45, allocations: 3.984 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/1.45, allocations: 16 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001388/1.45, allocations: 16 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/1.45, allocations: 53.62 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.45, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/1.45, allocations: 3.984 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.45, allocations: 4 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/1.451, allocations: 393.1 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/1.452, allocations: 26.58 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.452, allocations: 20.86 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/1.452, allocations: 0 / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/1.452, allocations: 96.59 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/1.452, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005021/1.453, allocations: 105.5 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/1.453, allocations: 55.39 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/1.453, allocations: 128.6 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/1.453, allocations: 37.7 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.453, allocations: 88.14 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/1.453, allocations: 27.77 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/1.453, allocations: 7.938 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.454, allocations: 326.8 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/1.454, allocations: 79.98 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/1.454, allocations: 118 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/1.455, allocations: 105.2 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.455, allocations: 0 / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001201/1.456, allocations: 281.3 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.457, allocations: 105.1 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.457, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/1.457, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/1.457, allocations: 5.938 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.457, allocations: 6.891 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/1.458, allocations: 104.1 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/1.458, allocations: 19.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 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 () * 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.0003145/1.458, allocations: 128.7 kB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003981/1.458, allocations: 101.5 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/1.458, allocations: 7.906 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.059e-05/1.459, allocations: 12.62 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/1.459, allocations: 3.984 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.459, allocations: 0 / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.459, allocations: 3.953 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/1.459, allocations: 162.2 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.459, allocations: 0 / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/1.459, allocations: 3.984 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.459, allocations: 0 / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.459, allocations: 4 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.459, allocations: 1.625 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/1.459, allocations: 0 / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/1.459, allocations: 136.9 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/1.46, allocations: 85 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/1.46, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.372e-05/1.46, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/1.46, allocations: 7.984 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/1.46, allocations: 4 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001303/1.46, allocations: 95.27 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.436e-06/1.46, allocations: 0 / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005467/1.46, allocations: 55.88 kB / 1.106 GB, free: 10.45 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete 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.001084/1.462, allocations: 0.6849 MB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008266/1.462, allocations: 342.1 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.462, allocations: 384 / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/1.463, allocations: 43.94 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/1.463, allocations: 19.97 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/1.464, allocations: 161.5 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/1.464, allocations: 0.7001 MB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.52e-05/1.464, allocations: 12.44 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/1.465, allocations: 27.42 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.465, allocations: 0 / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/1.516, allocations: 2.976 MB / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004573/1.516, allocations: 160.8 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.558, allocations: 1.75 kB / 1.111 GB, free: 5.289 MB / 0.7136 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)