Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005372, allocations: 17.16 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.301, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001063/0.3021, allocations: 0.546 MB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3036, allocations: 1.207 MB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.3036, allocations: 0 / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.3037, allocations: 7.938 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.3038, allocations: 23.88 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007587/0.3045, allocations: 296 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3047, allocations: 131.8 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3048, allocations: 41.55 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.305, allocations: 95.8 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3051, allocations: 79.69 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.3052, allocations: 16 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.3052, allocations: 24 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3053, allocations: 15.92 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3054, allocations: 53.64 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.3056, allocations: 187.8 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3056, allocations: 0 / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3056, allocations: 7.938 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3056, allocations: 0 / 0.7899 GB, free: 9.145 MB / 0.6075 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.0005954/0.3062, allocations: 484.1 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3063, allocations: 8.031 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.3063, allocations: 38.56 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3064, allocations: 23.77 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3065, allocations: 179.5 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.3066, allocations: 12 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.3066, allocations: 16 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3068, allocations: 104.5 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3068, allocations: 3.984 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3069, allocations: 4 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3069, allocations: 4 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.307, allocations: 43.92 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.3077, allocations: 0.4962 MB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3079, allocations: 70.55 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3079, allocations: 4.062 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.3081, allocations: 103.3 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.3081, allocations: 0 / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003542/0.3085, allocations: 173.6 kB / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3085, allocations: 67.33 kB / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3087, allocations: 165 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.3087, allocations: 33.7 kB / 0.7918 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.3088, allocations: 112.2 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3089, allocations: 23.66 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.3089, allocations: 11.94 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.309, allocations: 322.8 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3092, allocations: 99.94 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3094, allocations: 142 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3097, allocations: 177.1 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3097, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005766/0.3102, allocations: 401.3 kB / 0.7931 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.3103, allocations: 97.09 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3103, allocations: 4 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3104, allocations: 7.953 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.3104, allocations: 11.98 kB / 0.7932 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3104, allocations: 3.938 kB / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.311, allocations: 127.8 kB / 0.7933 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.311, allocations: 23.95 kB / 0.7933 GB, free: 5.297 MB / 0.6075 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 () * Number of clocked 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.0001298/0.3112, allocations: 129.8 kB / 0.7935 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3112, allocations: 7.906 kB / 0.7935 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.3112, allocations: 20.84 kB / 0.7935 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3112, allocations: 0 / 0.7935 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3113, allocations: 3.953 kB / 0.7935 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3113, allocations: 7.984 kB / 0.7935 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3115, allocations: 213.6 kB / 0.7937 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3115, allocations: 0 / 0.7937 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.3115, allocations: 15.92 kB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3115, allocations: 0 / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3116, allocations: 8 kB / 0.7937 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3116, allocations: 0 / 0.7937 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3116, allocations: 0 / 0.7937 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3118, allocations: 172 kB / 0.7939 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3119, allocations: 92.86 kB / 0.794 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3119, allocations: 7.938 kB / 0.794 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.3119, allocations: 7.922 kB / 0.794 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.312, allocations: 11.98 kB / 0.794 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.312, allocations: 8 kB / 0.794 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.974e-05/0.3121, allocations: 117.4 kB / 0.7941 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.693e-06/0.3121, allocations: 4 kB / 0.7941 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002637/0.3124, allocations: 51.94 kB / 0.7942 GB, free: 4.34 MB / 0.6075 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 () * Number of clocked 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.0006649/0.313, allocations: 0.6905 MB / 0.7949 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.3136, allocations: 394.2 kB / 0.7952 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3136, allocations: 0 / 0.7952 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.3137, allocations: 43.98 kB / 0.7953 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.314, allocations: 27.92 kB / 0.7953 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3151, allocations: 1.421 MB / 0.7967 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3156, allocations: 0.7126 MB / 0.7974 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.3156, allocations: 12.64 kB / 0.7974 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.3157, allocations: 35.42 kB / 0.7974 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3157, allocations: 0 / 0.7974 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.3308, allocations: 3.856 MB / 0.8012 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.3311, allocations: 198.5 kB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.45, allocations: 0 / 0.8014 GB, free: 12.91 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_IntegerSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: