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 1.447/1.447, allocations: 288.4 MB / 303.6 MB, free: 8.031 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.0008448/0.0008448, allocations: 181.4 kB / 372.3 MB, free: 10.11 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.126/1.126, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007187/0.0007187, allocations: 103.7 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 13.19 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0007645/0.1562, allocations: 0.5335 MB / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1574, allocations: 1.267 MB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.1575, allocations: 4 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.1575, allocations: 11.88 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.1576, allocations: 19.84 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.1582, allocations: 281.7 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1584, allocations: 231.5 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1585, allocations: 37.44 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1586, allocations: 99.72 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.1587, allocations: 83.7 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.1588, allocations: 12 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.1589, allocations: 31.98 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.1589, allocations: 15.92 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.159, allocations: 113.4 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1591, allocations: 183.8 kB / 0.983 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1591, allocations: 0 / 0.983 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1591, allocations: 0 / 0.983 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1592, allocations: 7.938 kB / 0.983 GB, free: 24.27 MB / 0.6198 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.0003998/0.1596, allocations: 476.2 kB / 0.9835 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1596, allocations: 16.02 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.1596, allocations: 42.75 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.1597, allocations: 24.75 kB / 0.9836 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.315e-05/0.1598, allocations: 177.5 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1598, allocations: 12.38 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1598, allocations: 20.38 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.16, allocations: 101.5 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.16, allocations: 0 / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.16, allocations: 3.938 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.16, allocations: 4 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.1601, allocations: 47.97 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.1606, allocations: 0.4924 MB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1608, allocations: 66.56 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1609, allocations: 32.97 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1609, allocations: 4 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.161, allocations: 123.2 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.1611, allocations: 0 / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.000267/0.1613, allocations: 162.6 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1614, allocations: 63.34 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.1615, allocations: 162.1 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1615, allocations: 37.69 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.1615, allocations: 104 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1616, allocations: 39.53 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.1616, allocations: 8 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.1616, allocations: 322.8 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1618, allocations: 91.95 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.162, allocations: 152.8 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.1622, allocations: 244.5 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1622, allocations: 4 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004651/0.1627, allocations: 399.9 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.1627, allocations: 101.1 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1627, allocations: 3.938 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1628, allocations: 4 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.1628, allocations: 15.92 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1628, allocations: 4 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.1633, allocations: 123.9 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1634, allocations: 15.98 kB / 0.9866 GB, free: 20.3 MB / 0.6198 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 8.558e-05/0.1635, allocations: 137.8 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.1635, allocations: 11.81 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.1635, allocations: 16.78 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1635, allocations: 7.938 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1636, allocations: 7.984 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1636, allocations: 0 / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1637, allocations: 213.6 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1637, allocations: 3.938 kB / 0.987 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.1637, allocations: 11.98 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1637, allocations: 4 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1637, allocations: 3.938 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1638, allocations: 0 / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1638, allocations: 0 / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1639, allocations: 165.9 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.164, allocations: 88.95 kB / 0.9872 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.164, allocations: 7.938 kB / 0.9872 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.164, allocations: 7.984 kB / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.1641, allocations: 15.92 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1641, allocations: 4 kB / 0.9873 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.1641, allocations: 115.2 kB / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1641, allocations: 0 / 0.9874 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002269/0.1644, allocations: 52 kB / 0.9874 GB, free: 19.35 MB / 0.6198 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.0003162/0.1647, allocations: 0.708 MB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.165, allocations: 382.2 kB / 0.9885 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1651, allocations: 4.125 kB / 0.9885 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.1651, allocations: 51.92 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1654, allocations: 27.92 kB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1666, allocations: 1.069 MB / 0.9896 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.1667, allocations: 0.7122 MB / 0.9903 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.1667, allocations: 16.64 kB / 0.9903 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.1668, allocations: 42.92 kB / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1668, allocations: 0 / 0.9904 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3568/0.5236, allocations: 3.949 MB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.5238, allocations: 210 kB / 0.9944 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.206, allocations: 0 / 0.9944 GB, free: 12.2 MB / 0.6198 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)