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.001271/0.001271, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 197.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.534/1.534, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001398/0.001398, allocations: 78.14 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1882, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002648/0.1909, allocations: 0.8529 MB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1925, allocations: 1.278 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.1926, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.1926, allocations: 15.8 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.1927, allocations: 19.8 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000951/0.1937, allocations: 314.5 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1942, allocations: 311.5 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1943, allocations: 33.44 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.1945, allocations: 115.8 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1947, allocations: 99.62 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.1948, allocations: 24 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.195, allocations: 39.98 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.195, allocations: 23.92 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1952, allocations: 107.7 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.1957, allocations: 255.5 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1957, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1957, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.1957, allocations: 0 / 0.7869 GB, free: 9.906 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.0009391/0.1967, allocations: 0.5235 MB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.1967, allocations: 12.03 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.1968, allocations: 46.67 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1969, allocations: 28.75 kB / 0.7875 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1971, allocations: 184.8 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.1972, allocations: 16.38 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.1972, allocations: 16.38 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1975, allocations: 93.55 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1975, allocations: 0 / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1975, allocations: 11.92 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1975, allocations: 7.938 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1977, allocations: 43.98 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.1986, allocations: 0.4884 MB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1989, allocations: 66.62 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.199, allocations: 36.91 kB / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.199, allocations: 0 / 0.7884 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.1994, allocations: 107.3 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.1994, allocations: 0 / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0004796/0.1999, allocations: 180.9 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1999, allocations: 59.41 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2001, allocations: 169.4 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.2002, allocations: 29.7 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2003, allocations: 112 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.2004, allocations: 35.62 kB / 0.7891 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.2006, allocations: 73.67 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2008, allocations: 322.8 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.2011, allocations: 99.88 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.2014, allocations: 148.8 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.2019, allocations: 249.4 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.2019, allocations: 0 / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009187/0.2029, allocations: 402.2 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.203, allocations: 101.1 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.203, allocations: 11.92 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.203, allocations: 192 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.2031, allocations: 16 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2031, allocations: 0 / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.2038, allocations: 87.73 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.2039, allocations: 23.92 kB / 0.7905 GB, free: 5.816 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,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.2041, allocations: 133.8 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.2041, allocations: 11.91 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.2042, allocations: 20.77 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2042, allocations: 0 / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.2042, allocations: 0 / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2042, allocations: 0 / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.2045, allocations: 221.5 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2045, allocations: 3.938 kB / 0.7909 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.2046, allocations: 19.86 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2046, allocations: 4 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2046, allocations: 11.94 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2046, allocations: 0 / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2046, allocations: 0 / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.2049, allocations: 157 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.205, allocations: 92.86 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.205, allocations: 11.92 kB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.2051, allocations: 0 / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.2052, allocations: 23.97 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2052, allocations: 4 kB / 0.7912 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.647e-05/0.2053, allocations: 117 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2053, allocations: 0 / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003802/0.2057, allocations: 48 kB / 0.7914 GB, free: 4.855 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006575/0.2063, allocations: 0.7137 MB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.207, allocations: 390 kB / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.207, allocations: 0 / 0.7924 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2072, allocations: 55.3 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2075, allocations: 24.34 kB / 0.7925 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.2112, allocations: 2.234 MB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2115, allocations: 0.7084 MB / 0.7954 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.2115, allocations: 12.64 kB / 0.7954 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.2116, allocations: 35.42 kB / 0.7954 GB, free: 488 kB / 0.6075 GB Notification: Performance of SimCode: time 2.174e-06/0.2116, allocations: 0 / 0.7954 GB, free: 488 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3719/0.5836, allocations: 4.195 MB / 0.7995 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.92/10.5, allocations: 3.75 kB / 0.7995 GB, free: 12.38 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/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)