Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 177.3 kB / 325.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007168/0.0007168, allocations: 83.98 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.000274, allocations: 15.94 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001475/0.1598, allocations: 1.48 MB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.1607, allocations: 0.7737 MB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.1607, allocations: 4 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.1608, allocations: 7.922 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.1608, allocations: 19.8 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1611, allocations: 67.86 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.1612, allocations: 107.6 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.1613, allocations: 29.12 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.1613, allocations: 35.84 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.1614, allocations: 43.78 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1614, allocations: 4 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1616, allocations: 103.8 kB / 0.8988 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1616, allocations: 15.92 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.1616, allocations: 43.67 kB / 0.8989 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1618, allocations: 147.5 kB / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1618, allocations: 0 / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1618, allocations: 0 / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.1618, allocations: 0 / 0.899 GB, free: 65.12 MB / 0.6042 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.0004497/0.1623, allocations: 423.2 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1623, allocations: 15.97 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.1624, allocations: 46.73 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1624, allocations: 12.75 kB / 0.8995 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.1625, allocations: 180.1 kB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1625, allocations: 4.375 kB / 0.8997 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1625, allocations: 16.38 kB / 0.8997 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.1628, allocations: 134.5 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.1628, allocations: 0 / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1628, allocations: 4 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1628, allocations: 4 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1631, allocations: 127.9 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.1635, allocations: 408.2 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1638, allocations: 118.5 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.164, allocations: 72.84 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.1642, allocations: 0.5661 MB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-06/0.1642, allocations: 34.5 kB / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.1643, allocations: 0 / 0.9011 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005174/0.1648, allocations: 225.3 kB / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.1648, allocations: 55.41 kB / 0.9014 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1649, allocations: 162.2 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.1649, allocations: 29.7 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.165, allocations: 104.1 kB / 0.9017 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.165, allocations: 23.56 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.165, allocations: 17.7 kB / 0.9017 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.1651, allocations: 326.8 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1652, allocations: 55.91 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1653, allocations: 56.33 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1656, allocations: 120.9 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1656, allocations: 4 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003169/0.166, allocations: 165.5 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.166, allocations: 7.938 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.166, allocations: 3.984 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.166, allocations: 4 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1661, allocations: 27.98 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1662, allocations: 4 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.195e-05/0.1663, allocations: 27.83 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.1663, allocations: 0 / 0.9025 GB, free: 61.24 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.1663, allocations: 125.8 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1664, allocations: 15.84 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.1667, allocations: 174.9 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1667, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1667, allocations: 4 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1668, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1669, allocations: 213.5 kB / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1669, allocations: 0 / 0.903 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.167, allocations: 31.97 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.167, allocations: 3.938 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1671, allocations: 0 / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1671, allocations: 0 / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1671, allocations: 0 / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1674, allocations: 267.4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1675, allocations: 112.7 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1675, allocations: 4 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1676, allocations: 15.98 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1676, allocations: 7.984 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1677, allocations: 0 / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.1677, allocations: 128.9 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1677, allocations: 0 / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002097/0.1679, allocations: 24 kB / 0.9035 GB, free: 60.04 MB / 0.6042 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 (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.0005405/0.1685, allocations: 0.8124 MB / 0.9043 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.1688, allocations: 123.9 kB / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1688, allocations: 0 / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.169, allocations: 71.89 kB / 0.9045 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1693, allocations: 30.78 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.171, allocations: 1.837 MB / 0.9063 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.1711, allocations: 0.7002 MB / 0.907 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.1712, allocations: 20.48 kB / 0.907 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1712, allocations: 31.42 kB / 0.9071 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.1712, allocations: 0 / 0.9071 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/0.331, allocations: 2.758 MB / 0.9098 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.3312, allocations: 237 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.839, allocations: 7.906 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)