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.483/1.483, allocations: 249.3 MB / 261.8 MB, free: 5.949 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.001069/0.001069, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008902/0.0008902, allocations: 86.53 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.191e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8822/1.153, allocations: 134.1 MB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.153, allocations: 91.86 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00888/1.162, allocations: 2.986 MB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/1.162, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.162, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 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.0006066/1.163, allocations: 442 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.163, allocations: 12.03 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/1.163, allocations: 41.48 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/1.163, allocations: 15.81 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/1.163, allocations: 175.6 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.163, allocations: 7.312 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/1.163, allocations: 11.5 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/1.163, allocations: 91.48 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.163, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.163, allocations: 7.938 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.163, allocations: 4 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/1.163, allocations: 65.05 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/1.164, allocations: 396.1 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/1.164, allocations: 97.86 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/1.164, allocations: 42.97 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/1.165, allocations: 0.5579 MB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.165, allocations: 34.56 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/1.165, allocations: 0 / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002452/1.165, allocations: 98.44 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.165, allocations: 51.41 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/1.165, allocations: 149.6 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.165, allocations: 25.7 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/1.165, allocations: 105.6 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/1.165, allocations: 23 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.165, allocations: 7.062 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.166, allocations: 321.4 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/1.166, allocations: 22.94 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/1.166, allocations: 23.62 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/1.166, allocations: 31.08 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.166, allocations: 3.938 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002137/1.166, allocations: 92.36 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.166, allocations: 8 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.166, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.166, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/1.166, allocations: 39.91 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.166, allocations: 0 / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.166, allocations: 23.83 kB / 1.029 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.167, allocations: 4 kB / 1.029 GB, free: 10.87 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.479e-05/1.167, allocations: 104.2 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/1.167, allocations: 19.77 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/1.167, allocations: 113.9 kB / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.167, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.167, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.167, allocations: 0 / 1.029 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.167, allocations: 209.8 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.167, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/1.167, allocations: 27.97 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.167, allocations: 8 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.167, allocations: 7.391 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.167, allocations: 4 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.167, allocations: 3.938 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/1.168, allocations: 192.2 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/1.168, allocations: 96.25 kB / 1.03 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/1.168, allocations: 7.984 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.168, allocations: 27.88 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/1.168, allocations: 7.859 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.168, allocations: 4 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.698e-05/1.168, allocations: 120.8 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.168, allocations: 0 / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00023/1.168, allocations: 23.38 kB / 1.03 GB, free: 9.914 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.0005928/1.169, allocations: 0.7357 MB / 1.03 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.169, allocations: 59.69 kB / 1.031 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.169, allocations: 0 / 1.031 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/1.169, allocations: 30.31 kB / 1.031 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/1.169, allocations: 38.95 kB / 1.031 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/1.17, allocations: 190.1 kB / 1.031 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/1.17, allocations: 0.7043 MB / 1.031 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.736e-05/1.17, allocations: 9.109 kB / 1.031 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/1.17, allocations: 34.55 kB / 1.031 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/1.17, allocations: 0 / 1.031 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/1.187, allocations: 2.655 MB / 1.034 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/1.188, allocations: 182.5 kB / 1.034 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/3.107, allocations: 0 / 1.034 GB, free: 5.434 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)