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.IntegerSwitch.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.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",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.961/2.961, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.002372/0.002372, allocations: 168.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.213/3.213, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.00072/0.0007201, allocations: 94.78 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.633e-05, allocations: 4 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.162, allocations: 115.3 MB / 0.9645 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/1.436, allocations: 137.7 MB / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.436, allocations: 69.88 kB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02236/1.459, allocations: 4.476 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.764e-06/1.459, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.459, allocations: 0 / 1.103 GB, free: 13.55 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007687/1.46, allocations: 496.2 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.46, allocations: 8.031 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/1.46, allocations: 16.94 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/1.46, allocations: 183.5 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/1.46, allocations: 8 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/1.46, allocations: 16 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001904/1.46, allocations: 40 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/1.461, allocations: 77.59 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.461, allocations: 3.984 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/1.461, allocations: 3.953 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.461, allocations: 4 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/1.462, allocations: 461 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/1.462, allocations: 64.12 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/1.462, allocations: 24.92 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/1.462, allocations: 3.75 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/1.463, allocations: 115.4 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/1.463, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004/1.463, allocations: 113.6 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/1.463, allocations: 63.39 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/1.463, allocations: 132.4 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/1.463, allocations: 33.7 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/1.464, allocations: 120.3 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.464, allocations: 23.7 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.464, allocations: 8 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.464, allocations: 318.8 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/1.464, allocations: 83.98 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/1.464, allocations: 126 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/1.465, allocations: 120.5 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.465, allocations: 4 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001152/1.466, allocations: 302.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.466, allocations: 97.09 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.466, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.466, allocations: 7.984 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/1.466, allocations: 12 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.467, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/1.467, allocations: 112 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/1.467, allocations: 19.92 kB / 1.106 GB, free: 10.14 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001559/1.468, allocations: 120.9 kB / 1.107 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002641/1.468, allocations: 126.7 kB / 1.107 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/1.468, allocations: 7.906 kB / 1.107 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/1.468, allocations: 16.69 kB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.468, allocations: 0 / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.468, allocations: 4 kB / 1.107 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.468, allocations: 3.984 kB / 1.107 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.468, allocations: 188 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.468, allocations: 0 / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/1.468, allocations: 11.98 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.468, allocations: 0 / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.468, allocations: 4 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.468, allocations: 0 / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.468, allocations: 3.047 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/1.469, allocations: 161.6 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/1.469, allocations: 81.02 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/1.469, allocations: 4 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/1.469, allocations: 5.438 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/1.469, allocations: 11.98 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/1.469, allocations: 7.984 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.231e-05/1.469, allocations: 102.5 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.469, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004774/1.47, allocations: 51.92 kB / 1.107 GB, free: 9.176 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0007758/1.47, allocations: 0.7137 MB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000706/1.471, allocations: 362.1 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.471, allocations: 0 / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.471, allocations: 40.38 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/1.472, allocations: 27.92 kB / 1.108 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/1.472, allocations: 198.3 kB / 1.109 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/1.473, allocations: 0.7158 MB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.021e-05/1.473, allocations: 12.88 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/1.473, allocations: 36.67 kB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/1.473, allocations: 0 / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6145/2.088, allocations: 3.313 MB / 1.113 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/2.088, allocations: 161.2 kB / 1.113 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/5.206, allocations: 0 / 1.113 GB, free: 3.566 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)