Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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.485/1.485, allocations: 288.4 MB / 303.6 MB, free: 8.039 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.0009372/0.0009377, allocations: 179.3 kB / 372.2 MB, free: 10.15 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.196/1.196, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0006697/0.0006698, allocations: 102.9 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 13.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001438/0.1619, allocations: 1.422 MB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.1628, allocations: 0.708 MB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1629, allocations: 4 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.1629, allocations: 11.86 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.163, allocations: 11.86 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1633, allocations: 67.86 kB / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1634, allocations: 95.64 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1635, allocations: 49.3 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.1636, allocations: 27.86 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1637, allocations: 43.77 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1637, allocations: 7.938 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1639, allocations: 103.9 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1639, allocations: 11.92 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.164, allocations: 65.44 kB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1641, allocations: 103.8 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1641, allocations: 0 / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1641, allocations: 0 / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1641, allocations: 0 / 0.9829 GB, free: 24.5 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004769/0.1646, allocations: 436.1 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1646, allocations: 12.03 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1647, allocations: 50.67 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1647, allocations: 8.844 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.341e-05/0.1648, allocations: 184.1 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1648, allocations: 8.375 kB / 0.9835 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1648, allocations: 15.94 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.1651, allocations: 129.5 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1651, allocations: 0 / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1652, allocations: 8 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1652, allocations: 0 / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.1655, allocations: 135.8 kB / 0.9838 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1659, allocations: 400.3 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1662, allocations: 118.6 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1664, allocations: 76.81 kB / 0.9844 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.1667, allocations: 0.5622 MB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.1667, allocations: 34.56 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1667, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005635/0.1673, allocations: 217.4 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.794e-05/0.1673, allocations: 55.34 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.1674, allocations: 165.2 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1674, allocations: 29.7 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1675, allocations: 108.1 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.1675, allocations: 23.56 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1675, allocations: 4 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.1675, allocations: 318.8 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1677, allocations: 63.95 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1679, allocations: 51.95 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.1681, allocations: 121.3 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1682, allocations: 7.938 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003337/0.1685, allocations: 165.4 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1685, allocations: 8 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1685, allocations: 0 / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1685, allocations: 0 / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1687, allocations: 39.91 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1687, allocations: 0 / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.1688, allocations: 27.83 kB / 0.9863 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1688, allocations: 4 kB / 0.9863 GB, free: 20.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.587e-05/0.1689, allocations: 113.8 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1689, allocations: 11.84 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.1693, allocations: 178.9 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1693, allocations: 0 / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1693, allocations: 0 / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1693, allocations: 7.984 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1695, allocations: 209.5 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1695, allocations: 0 / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1696, allocations: 31.97 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1696, allocations: 0 / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1696, allocations: 3.984 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1696, allocations: 0 / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1697, allocations: 0 / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.17, allocations: 271.3 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1701, allocations: 93 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1701, allocations: 7.984 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1702, allocations: 19.98 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1702, allocations: 11.92 kB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1703, allocations: 0 / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.1703, allocations: 133.6 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 3.938 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002157/0.1705, allocations: 20 kB / 0.9874 GB, free: 19.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0005726/0.1711, allocations: 0.8098 MB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1715, allocations: 127.8 kB / 0.9883 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1715, allocations: 0 / 0.9883 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1716, allocations: 67.95 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.172, allocations: 25.77 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1732, allocations: 0.8274 MB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.1733, allocations: 0.7041 MB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.1733, allocations: 8.547 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1734, allocations: 31.42 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.1734, allocations: 0 / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3618/0.5352, allocations: 2.706 MB / 0.9926 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.5354, allocations: 225.6 kB / 0.9928 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.248, allocations: 0 / 0.9928 GB, free: 14.02 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)