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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 268 MB, free: 10.84 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.0009796/0.0009797, allocations: 171.5 kB / 327.6 MB, free: 2.082 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.833/1.833, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0009783/0.0009782, allocations: 92.31 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 8.938 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2347, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector): time 0.001912/0.2366, allocations: 1.468 MB / 0.9029 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2377, allocations: 0.7651 MB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.2378, allocations: 0 / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2379, allocations: 7.922 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.238, allocations: 19.81 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.2383, allocations: 67.84 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.2384, allocations: 99.64 kB / 0.9038 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2385, allocations: 37.11 kB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.2386, allocations: 35.84 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.2387, allocations: 39.78 kB / 0.9039 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2387, allocations: 4 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.2389, allocations: 103.9 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.239, allocations: 19.86 kB / 0.9041 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.239, allocations: 69.38 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.2392, allocations: 108 kB / 0.9042 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2392, allocations: 0 / 0.9042 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2392, allocations: 4 kB / 0.9042 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2392, allocations: 0 / 0.9042 GB, free: 60.6 MB / 0.6042 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.0005677/0.2398, allocations: 423.2 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2398, allocations: 8.031 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.2399, allocations: 20.75 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.24, allocations: 181.6 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.24, allocations: 8.375 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.24, allocations: 8.375 kB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.2404, allocations: 131.9 kB / 0.905 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2404, allocations: 4 kB / 0.905 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2404, allocations: 8 kB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2404, allocations: 0 / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.2408, allocations: 139.8 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.2413, allocations: 400.2 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.2416, allocations: 118.6 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.2418, allocations: 80.75 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/0.2422, allocations: 0.5544 MB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2422, allocations: 30.56 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2422, allocations: 3.938 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006039/0.2428, allocations: 225.4 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2429, allocations: 55.41 kB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.243, allocations: 162.2 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.243, allocations: 29.69 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2431, allocations: 100 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.2431, allocations: 31.55 kB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.2431, allocations: 0 / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.2432, allocations: 330.8 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2434, allocations: 51.95 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2436, allocations: 55.97 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.2439, allocations: 125.3 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2439, allocations: 0 / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003576/0.2442, allocations: 173.4 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2443, allocations: 14.75 kB / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2443, allocations: 0 / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2443, allocations: 0 / 0.9076 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2445, allocations: 31.98 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2445, allocations: 0 / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.2446, allocations: 27.81 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2446, allocations: 4 kB / 0.9076 GB, free: 56.79 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.2447, allocations: 117.8 kB / 0.9077 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2447, allocations: 11.84 kB / 0.9077 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.2452, allocations: 182.9 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2452, allocations: 0 / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2452, allocations: 4 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2452, allocations: 0 / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2454, allocations: 213.5 kB / 0.9081 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2454, allocations: 0 / 0.9081 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2455, allocations: 31.92 kB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2456, allocations: 7.938 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2456, allocations: 4 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2456, allocations: 0 / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2456, allocations: 4 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.246, allocations: 255.3 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.2461, allocations: 100.8 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2461, allocations: 11.88 kB / 0.9085 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2462, allocations: 19.98 kB / 0.9085 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.2463, allocations: 8.266 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2463, allocations: 4 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.2464, allocations: 124.9 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2464, allocations: 3.938 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002242/0.2466, allocations: 27.98 kB / 0.9087 GB, free: 55.58 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.2468, allocations: 107.2 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.2472, allocations: 131.8 kB / 0.9089 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2472, allocations: 4 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.2474, allocations: 63.91 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2478, allocations: 31.97 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.2483, allocations: 285.1 kB / 0.9093 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2485, allocations: 0.7004 MB / 0.91 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.2485, allocations: 11.44 kB / 0.91 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of SimCode: time 1.643e-06/0.2485, allocations: 0 / 0.91 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.003149/0.2517, allocations: 1.456 MB / 0.9114 GB, free: 52.75 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)