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.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001041, allocations: 176.8 kB / 316.3 MB, free: 3.23 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.657/1.657, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009307/0.0009304, allocations: 82.47 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.53e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 106.4 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7938/1.014, allocations: 134.4 MB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.014, allocations: 89 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008706/1.023, allocations: 2.96 MB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.675e-06/1.023, allocations: 0 / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.023, allocations: 0 / 1.02 GB, free: 360 kB / 0.6355 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.0006901/1.023, allocations: 437.2 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/1.023, allocations: 12.03 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/1.024, allocations: 11.81 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/1.024, allocations: 184.1 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.024, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.024, allocations: 8 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001869/1.024, allocations: 54.38 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/1.024, allocations: 80.28 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.024, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.024, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/1.024, allocations: 7.984 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006529/1.025, allocations: 364.8 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/1.025, allocations: 76.53 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/1.025, allocations: 43.11 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005165/1.026, allocations: 0.5583 MB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.026, allocations: 38.55 kB / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/1.026, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002976/1.026, allocations: 87.91 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.026, allocations: 55.41 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.026, allocations: 107.1 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.026, allocations: 25.7 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/1.026, allocations: 111.2 kB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/1.026, allocations: 34.92 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/1.026, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.027, allocations: 318.4 kB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/1.027, allocations: 18.88 kB / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/1.027, allocations: 26.75 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/1.027, allocations: 19.06 kB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.027, allocations: 7.922 kB / 1.022 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000165/1.027, allocations: 84.09 kB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.027, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.027, allocations: 3.953 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.027, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.027, allocations: 28.36 kB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.027, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.027, allocations: 19.97 kB / 1.022 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/1.027, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.6511 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 () * 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 8.672e-05/1.027, allocations: 116.2 kB / 1.022 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001715/1.028, allocations: 83.84 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.028, allocations: 11.86 kB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.028, allocations: 98.8 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.028, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.028, allocations: 3.984 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.028, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.028, allocations: 186 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.028, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/1.028, allocations: 32.84 kB / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.028, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.028, allocations: 3.953 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.028, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.028, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/1.029, allocations: 186.5 kB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/1.029, allocations: 91.5 kB / 1.023 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/1.029, allocations: 4 kB / 1.023 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/1.029, allocations: 19.94 kB / 1.023 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/1.029, allocations: 10.55 kB / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/1.029, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.454e-05/1.029, allocations: 100.3 kB / 1.023 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002599/1.029, allocations: 24.22 kB / 1.023 GB, free: 12.45 MB / 0.6511 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 () * 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.0005832/1.03, allocations: 0.7329 MB / 1.024 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001402/1.03, allocations: 47.31 kB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.03, allocations: 7.062 kB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/1.03, allocations: 33.19 kB / 1.024 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.03, allocations: 25.56 kB / 1.024 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/1.031, allocations: 166.4 kB / 1.024 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.031, allocations: 0.7047 MB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.858e-05/1.031, allocations: 7.984 kB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/1.031, allocations: 24.69 kB / 1.025 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of SimCode: time 4.51e-07/1.031, allocations: 3.938 kB / 1.025 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/1.053, allocations: 1.859 MB / 1.027 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.053, allocations: 186.2 kB / 1.027 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.638, allocations: 2.812 kB / 1.027 GB, free: 8.684 MB / 0.6511 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)