Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001494/0.001494, allocations: 185 kB / 377.1 MB, free: 1.523 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.719/1.719, allocations: 205.4 MB / 0.6366 GB, free: 8.562 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.000852, allocations: 95.19 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003702, allocations: 20 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2889, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8506/1.14, allocations: 141.5 MB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.14, allocations: 96.17 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008005/1.148, allocations: 2.993 MB / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/1.148, allocations: 0 / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.619e-05/1.148, allocations: 4 kB / 1.13 GB, free: 31.48 MB / 0.7292 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.0005639/1.149, allocations: 451.8 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.149, allocations: 12.03 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/1.149, allocations: 38.61 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/1.149, allocations: 13.97 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.149, allocations: 176.2 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.149, allocations: 11.94 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1.149, allocations: 15.44 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/1.149, allocations: 127.6 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.149, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.149, allocations: 5.797 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.149, allocations: 4 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/1.15, allocations: 139.7 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/1.15, allocations: 409 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/1.151, allocations: 122.3 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/1.151, allocations: 0.5565 MB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.151, allocations: 38.56 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/1.151, allocations: 0 / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0005935/1.152, allocations: 212.8 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.152, allocations: 58.97 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.152, allocations: 148 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/1.152, allocations: 26.27 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/1.152, allocations: 103.7 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/1.152, allocations: 30.98 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/1.152, allocations: 0 / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/1.152, allocations: 322.3 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/1.152, allocations: 54.31 kB / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/1.152, allocations: 58.86 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.152, allocations: 58.88 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.152, allocations: 0.75 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003424/1.153, allocations: 166.1 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.153, allocations: 12.08 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.153, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.153, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/1.153, allocations: 31.38 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.153, allocations: 3.953 kB / 1.133 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/1.153, allocations: 31.31 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/1.153, allocations: 0 / 1.133 GB, free: 28.02 MB / 0.7292 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.722e-05/1.153, allocations: 114.4 kB / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/1.153, allocations: 11.91 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/1.154, allocations: 187.5 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.154, allocations: 4.5 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.154, allocations: 4.5 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.154, allocations: 0 / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/1.154, allocations: 211.8 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.154, allocations: 0 / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.154, allocations: 32.25 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.154, allocations: 7.422 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.154, allocations: 0 / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.154, allocations: 3.953 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.154, allocations: 0 / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.154, allocations: 261.8 kB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/1.154, allocations: 97.55 kB / 1.134 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/1.154, allocations: 0 / 1.134 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.155, allocations: 24.31 kB / 1.134 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/1.155, allocations: 11.33 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.155, allocations: 4.625 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.81e-05/1.155, allocations: 119.7 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0 / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002364/1.155, allocations: 31.41 kB / 1.134 GB, free: 26.93 MB / 0.7292 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.000708/1.156, allocations: 0.8111 MB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003822/1.156, allocations: 122.1 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.156, allocations: 0 / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/1.156, allocations: 73.91 kB / 1.135 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/1.157, allocations: 28.41 kB / 1.135 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.158, allocations: 0.8128 MB / 1.136 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/1.158, allocations: 0.7021 MB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.46e-05/1.158, allocations: 15.98 kB / 1.137 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/1.158, allocations: 28.47 kB / 1.137 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.158, allocations: 0 / 1.137 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/1.173, allocations: 2.664 MB / 1.139 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/1.174, allocations: 198.2 kB / 1.139 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.887, allocations: 0 / 1.139 GB, free: 22.75 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)