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.67/1.67, allocations: 288.2 MB / 303.2 MB, free: 8.094 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.001145/0.001144, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.629/1.629, allocations: 205.4 MB / 0.6305 GB, free: 10 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.000851/0.000851, allocations: 97.2 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004131, allocations: 13.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001822/0.2585, allocations: 1.415 MB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.2594, allocations: 0.7188 MB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.2595, allocations: 3.938 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2595, allocations: 3.938 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.2596, allocations: 23.95 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.2599, allocations: 67.78 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.26, allocations: 67.86 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2601, allocations: 29.58 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2602, allocations: 39.83 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.2603, allocations: 43.78 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2603, allocations: 4 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2604, allocations: 87.89 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.2605, allocations: 19.92 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.2605, allocations: 37.64 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2607, allocations: 107.8 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2607, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2607, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2607, allocations: 0 / 0.9821 GB, free: 24.9 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.0005076/0.2612, allocations: 438.9 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2612, allocations: 8.031 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.2613, allocations: 42.55 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2613, allocations: 15.86 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.2614, allocations: 174.9 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2614, allocations: 15.88 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2615, allocations: 8 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2618, allocations: 125.5 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2618, allocations: 4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2618, allocations: 8 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2618, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.2622, allocations: 135.9 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.2626, allocations: 404.2 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.263, allocations: 122.5 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.2633, allocations: 0.5622 MB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.2634, allocations: 30.56 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2634, allocations: 4 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005952/0.264, allocations: 217.5 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.264, allocations: 55.41 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2641, allocations: 161.2 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2641, allocations: 29.7 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.2642, allocations: 108.2 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.2642, allocations: 31.55 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.2642, allocations: 0 / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.2643, allocations: 322.8 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2645, allocations: 55.97 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2646, allocations: 55.95 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.2648, allocations: 55.91 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2648, allocations: 3.953 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003458/0.2652, allocations: 161.5 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2652, allocations: 4 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2652, allocations: 3.984 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2652, allocations: 3.938 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2654, allocations: 35.97 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2654, allocations: 4 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.2655, allocations: 19.89 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2655, allocations: 4 kB / 0.9854 GB, free: 21.18 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 6.707e-05/0.2656, allocations: 117.8 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2656, allocations: 12.52 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.266, allocations: 190.8 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.266, allocations: 4 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.266, allocations: 0 / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.266, allocations: 0 / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2662, allocations: 213.5 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2662, allocations: 0 / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.2664, allocations: 31.94 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2664, allocations: 3.938 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2664, allocations: 8 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2664, allocations: 3.984 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2664, allocations: 0 / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.2668, allocations: 255.3 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2668, allocations: 96.91 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2669, allocations: 15.94 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.267, allocations: 15.98 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.267, allocations: 11.98 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.2671, allocations: 0 / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.825e-05/0.2671, allocations: 129.6 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2671, allocations: 0 / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002316/0.2674, allocations: 24 kB / 0.9865 GB, free: 19.98 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.0005977/0.268, allocations: 0.7982 MB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.2684, allocations: 136.1 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2684, allocations: 0 / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.2685, allocations: 67.89 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2689, allocations: 31.94 kB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2701, allocations: 0.8104 MB / 0.9883 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2703, allocations: 0.7119 MB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.142e-05/0.2704, allocations: 8.547 kB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.2704, allocations: 29.27 kB / 0.989 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2704, allocations: 8 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.2836, allocations: 2.675 MB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.2839, allocations: 228.8 kB / 0.9918 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.86, allocations: 0 / 0.9918 GB, free: 14.58 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)