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.484/1.484, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009174/0.0009174, allocations: 184.2 kB / 327 MB, free: 2.086 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.834/1.834, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009807/0.0009807, allocations: 85.5 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 15.41 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.002237/0.2545, allocations: 1.464 MB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2558, allocations: 0.7612 MB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.2558, allocations: 0 / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2559, allocations: 7.922 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.256, allocations: 23.8 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2563, allocations: 63.88 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2564, allocations: 107.6 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2565, allocations: 33.11 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.2566, allocations: 35.84 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.2567, allocations: 39.78 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2567, allocations: 4 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.2569, allocations: 103.8 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.2569, allocations: 19.86 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.257, allocations: 65.44 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.2572, allocations: 147.8 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2572, allocations: 4 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2573, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2573, allocations: 0 / 0.9037 GB, free: 60.47 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.0005532/0.2578, allocations: 431.2 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2579, allocations: 12.03 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.2579, allocations: 42.73 kB / 0.9042 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.258, allocations: 12.75 kB / 0.9042 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.2581, allocations: 180.2 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2581, allocations: 8.375 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2581, allocations: 8.375 kB / 0.9044 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.2584, allocations: 140.6 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2585, allocations: 0 / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2585, allocations: 0 / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2585, allocations: 7.938 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.2588, allocations: 135.8 kB / 0.9047 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.2593, allocations: 404.2 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.2596, allocations: 118.5 kB / 0.9052 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2598, allocations: 76.86 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.2602, allocations: 0.5583 MB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2602, allocations: 30.56 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2602, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005958/0.2608, allocations: 229.3 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2609, allocations: 51.41 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.261, allocations: 162.2 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.261, allocations: 29.7 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.261, allocations: 104.1 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2611, allocations: 31.56 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2611, allocations: 0 / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2611, allocations: 318.8 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2613, allocations: 55.95 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2614, allocations: 59.89 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.2617, allocations: 125.3 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2618, allocations: 0 / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003532/0.2621, allocations: 165.4 kB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2621, allocations: 7.938 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2621, allocations: 0 / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2622, allocations: 0 / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2623, allocations: 39.97 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2623, allocations: 0 / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.2624, allocations: 31.83 kB / 0.9072 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2625, allocations: 3.984 kB / 0.9072 GB, free: 56.61 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 7.361e-05/0.2625, allocations: 117.8 kB / 0.9073 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.2626, allocations: 15.84 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.263, allocations: 186.9 kB / 0.9075 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.263, allocations: 3.984 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.263, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.263, allocations: 0 / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2632, allocations: 213.4 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2632, allocations: 3.938 kB / 0.9077 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2633, allocations: 35.97 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2633, allocations: 7.938 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2633, allocations: 0 / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2633, allocations: 0 / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2634, allocations: 0 / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.2637, allocations: 259.3 kB / 0.908 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.2638, allocations: 100.8 kB / 0.9081 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2638, allocations: 0 / 0.9081 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2639, allocations: 24.27 kB / 0.9081 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.264, allocations: 7.984 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.264, allocations: 4 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.2641, allocations: 124.8 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2641, allocations: 0 / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002115/0.2643, allocations: 24 kB / 0.9082 GB, free: 55.4 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.0005934/0.2649, allocations: 0.8059 MB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.2653, allocations: 127.9 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2653, allocations: 0 / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2655, allocations: 75.89 kB / 0.9092 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2658, allocations: 25.47 kB / 0.9092 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.2677, allocations: 1.85 MB / 0.9111 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2678, allocations: 0.7041 MB / 0.9117 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.026e-05/0.2679, allocations: 12.48 kB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.2679, allocations: 31.44 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.268, allocations: 0 / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.2796, allocations: 2.751 MB / 0.9145 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.2798, allocations: 242.2 kB / 0.9147 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.112, allocations: 3.094 kB / 0.9147 GB, free: 48.86 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)