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.419/1.419, allocations: 251.9 MB / 266.9 MB, free: 10.86 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.00149/0.00149, allocations: 175.3 kB / 326.5 MB, free: 2.211 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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.16 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.001062/0.001062, allocations: 98.06 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 11.72 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.4182, allocations: 134.2 MB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.4185, allocations: 87.94 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009555/0.4281, allocations: 3.009 MB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4281, allocations: 0 / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.4282, allocations: 4 kB / 1.034 GB, free: 6.277 MB / 0.6823 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.0007636/0.4289, allocations: 438.9 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.429, allocations: 16.03 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.4291, allocations: 38.56 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.4292, allocations: 15.81 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.4294, allocations: 183 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4294, allocations: 4 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4294, allocations: 12 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.4298, allocations: 131 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4299, allocations: 0 / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.4299, allocations: 8 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4299, allocations: 0 / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.4303, allocations: 135.8 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.431, allocations: 408.3 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.4314, allocations: 126.5 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.432, allocations: 0.5505 MB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.432, allocations: 34.56 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.432, allocations: 4.188 kB / 1.036 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0006851/0.4327, allocations: 225.3 kB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.4328, allocations: 55.34 kB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4329, allocations: 145.3 kB / 1.037 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.433, allocations: 25.7 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.433, allocations: 104.3 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.4331, allocations: 27.56 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4331, allocations: 0 / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4332, allocations: 322.8 kB / 1.037 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4334, allocations: 55.95 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.4336, allocations: 63.95 kB / 1.037 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4338, allocations: 47.97 kB / 1.037 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4338, allocations: 4.562 kB / 1.037 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004129/0.4342, allocations: 169.3 kB / 1.037 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4343, allocations: 4 kB / 1.037 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4343, allocations: 4 kB / 1.037 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4343, allocations: 4 kB / 1.037 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4345, allocations: 27.98 kB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4345, allocations: 0 / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4346, allocations: 31.81 kB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4346, allocations: 0 / 1.038 GB, free: 2.559 MB / 0.6823 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 0.0001051/0.4347, allocations: 121.8 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.4348, allocations: 19.77 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.4353, allocations: 178.9 kB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4353, allocations: 0 / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4353, allocations: 0 / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4353, allocations: 0 / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.4356, allocations: 213.6 kB / 1.038 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4356, allocations: 0 / 1.038 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.4358, allocations: 31.98 kB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4358, allocations: 3.984 kB / 1.038 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4358, allocations: 7.891 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4358, allocations: 0 / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4358, allocations: 0 / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.4363, allocations: 265.2 kB / 1.038 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.4364, allocations: 97 kB / 1.038 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.4364, allocations: 8 kB / 1.038 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4366, allocations: 23.92 kB / 1.038 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.4366, allocations: 4 kB / 1.038 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.4367, allocations: 7.984 kB / 1.038 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001193/0.4368, allocations: 125.2 kB / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4368, allocations: 0 / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002703/0.4371, allocations: 27.94 kB / 1.039 GB, free: 1.344 MB / 0.6823 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.000819/0.4379, allocations: 0.8136 MB / 1.039 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.4383, allocations: 123.9 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4384, allocations: 0 / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.4386, allocations: 71.89 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.4389, allocations: 31.88 kB / 1.04 GB, free: 288 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4404, allocations: 0.813 MB / 1.04 GB, free: 15.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4407, allocations: 0.7044 MB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.4408, allocations: 16.97 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.4409, allocations: 31.42 kB / 1.041 GB, free: 14.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.4409, allocations: 0 / 1.041 GB, free: 14.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.4547, allocations: 2.666 MB / 1.044 GB, free: 12.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.455, allocations: 220.6 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.122, allocations: 0 / 1.044 GB, free: 11.96 MB / 0.698 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)