Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.487/1.487, allocations: 287.4 MB / 302.6 MB, free: 8.18 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.001009/0.001009, allocations: 174.6 kB / 371.1 MB, free: 10.83 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.21/1.21, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.000652/0.0006519, allocations: 93.8 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 12.03 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 115.3 MB / 0.9788 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.000699/0.1631, allocations: 481.6 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.1638, allocations: 0.8555 MB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.1639, allocations: 4 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1639, allocations: 3.938 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.164, allocations: 7.922 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1641, allocations: 31.95 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.115e-05/0.1642, allocations: 71.84 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.1642, allocations: 19.98 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1643, allocations: 35.83 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.1644, allocations: 35.84 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1644, allocations: 4 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.1644, allocations: 4 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.1644, allocations: 19.97 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1645, allocations: 37.64 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.227e-05/0.1645, allocations: 52.14 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1645, allocations: 4 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1645, allocations: 0 / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1646, allocations: 0 / 0.9804 GB, free: 26.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004467/0.165, allocations: 395.2 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.165, allocations: 8.031 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.1651, allocations: 42.69 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.1651, allocations: 8.844 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.1652, allocations: 180.2 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1652, allocations: 8.359 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1652, allocations: 8.375 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1655, allocations: 118.1 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1655, allocations: 7.938 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1655, allocations: 0 / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1655, allocations: 0 / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.1659, allocations: 119.9 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1662, allocations: 340.6 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.1668, allocations: 134.6 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1669, allocations: 60.81 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.167, allocations: 7.984 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.167, allocations: 42.5 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.167, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005486/0.1675, allocations: 213.5 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.1676, allocations: 51.41 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.1676, allocations: 117.8 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.1676, allocations: 29.7 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.1677, allocations: 104 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.1677, allocations: 11.81 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1677, allocations: 4 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.1677, allocations: 318.8 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1679, allocations: 59.95 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1681, allocations: 59.89 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.1684, allocations: 120.8 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1684, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003375/0.1687, allocations: 157.5 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.1687, allocations: 4 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1687, allocations: 4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1688, allocations: 4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1689, allocations: 27.97 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1689, allocations: 3.984 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.169, allocations: 31.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1691, allocations: 7.984 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.286e-05/0.1691, allocations: 123.1 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.1691, allocations: 7.906 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.1695, allocations: 170.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1696, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1696, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1696, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1697, allocations: 205.5 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1697, allocations: 0 / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.1699, allocations: 39.91 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1699, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1699, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1699, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1699, allocations: 0 / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1703, allocations: 263.4 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.1703, allocations: 89.02 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1703, allocations: 0 / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1704, allocations: 23.97 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.1705, allocations: 19.97 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1705, allocations: 0 / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.1706, allocations: 95.27 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1706, allocations: 0 / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001924/0.1708, allocations: 19.94 kB / 0.9841 GB, free: 22.29 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005192/0.1713, allocations: 0.7904 MB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.1716, allocations: 127.9 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1716, allocations: 3.938 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1718, allocations: 71.95 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1721, allocations: 14.22 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1731, allocations: 0.655 MB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.1732, allocations: 0.6926 MB / 0.9864 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.647e-05/0.1733, allocations: 8 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.1734, allocations: 27.42 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1734, allocations: 0 / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.1841, allocations: 2.243 MB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.1842, allocations: 191.7 kB / 0.9888 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.696, allocations: 0 / 0.9888 GB, free: 17.45 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)