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.UACp.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.UACp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",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.485/1.485, allocations: 252 MB / 267 MB, free: 10.98 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.001058/0.001058, allocations: 181.5 kB / 326.6 MB, free: 2.238 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.694/1.694, allocations: 205.4 MB / 0.5777 GB, free: 20.58 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.0007292/0.0007292, allocations: 88.3 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 14.34 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1862, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.001537/0.1877, allocations: 1.415 MB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.3461, allocations: 134.8 MB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3463, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.3466, allocations: 43.8 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.348, allocations: 302.5 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3482, allocations: 51.86 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.3484, allocations: 127.4 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.3485, allocations: 9.391 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3486, allocations: 47.78 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.3489, allocations: 63.75 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3489, allocations: 8 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.35, allocations: 367.2 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.3501, allocations: 15.91 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3501, allocations: 49.62 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.3507, allocations: 247.7 kB / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3507, allocations: 0 / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3508, allocations: 0 / 1.035 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3508, allocations: 0 / 1.035 GB, free: 6.406 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009507/0.3517, allocations: 470.7 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3518, allocations: 12.03 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.3519, allocations: 113.8 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.3535, allocations: 175.1 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.354, allocations: 303 kB / 1.036 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/0.3541, allocations: 150.6 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.3542, allocations: 150.6 kB / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.271e-05/0.3543, allocations: 108.9 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.3543, allocations: 79.28 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.3544, allocations: 150.6 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/0.3545, allocations: 158.5 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.3546, allocations: 154.6 kB / 1.037 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.3551, allocations: 0.5056 MB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3552, allocations: 177.1 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.3553, allocations: 84.14 kB / 1.037 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3553, allocations: 75.28 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.3554, allocations: 105.8 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.3554, allocations: 0 / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0004102/0.3558, allocations: 65.48 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.3559, allocations: 130.6 kB / 1.038 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3564, allocations: 219.1 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3564, allocations: 25.7 kB / 1.038 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.3565, allocations: 104.1 kB / 1.038 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.3565, allocations: 4 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3565, allocations: 11.94 kB / 1.038 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3567, allocations: 314.8 kB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.3568, allocations: 15.98 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.3568, allocations: 20 kB / 1.038 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.658e-05/0.3569, allocations: 12 kB / 1.038 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3569, allocations: 0 / 1.038 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000868/0.3578, allocations: 142.4 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.086e-05/0.3579, allocations: 96.89 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3579, allocations: 3.938 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.3591, allocations: 148.6 kB / 1.039 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.3592, allocations: 8 kB / 1.039 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.3618, allocations: 1.491 MB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3621, allocations: 7.938 kB / 1.04 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3621, allocations: 4 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.3621, allocations: 2.969 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002727/0.3624, allocations: 80.7 kB / 1.04 GB, free: 224 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3624, allocations: 4 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.363, allocations: 108.7 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.363, allocations: 7.984 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3645, allocations: 1.359 MB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3647, allocations: 4.031 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3648, allocations: 64 / 1.042 GB, free: 14.6 MB / 0.698 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.365, allocations: 280.3 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3651, allocations: 116.8 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.3652, allocations: 113.3 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.3652, allocations: 188.2 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.466e-05/0.3653, allocations: 180.2 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-05/0.3654, allocations: 184.3 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.3658, allocations: 449.1 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.125e-05/0.3659, allocations: 101 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.3659, allocations: 101 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.84e-05/0.366, allocations: 188.1 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.3661, allocations: 184.3 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.032e-05/0.3662, allocations: 180.2 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.006e-05/0.3662, allocations: 180.3 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3664, allocations: 315.6 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3666, allocations: 198 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.3667, allocations: 188.2 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3669, allocations: 109 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.367, allocations: 180.2 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.3671, allocations: 104.9 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002763/0.3674, allocations: 163.5 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.3674, allocations: 4 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006623/0.3681, allocations: 67.98 kB / 1.045 GB, free: 10.68 MB / 0.698 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 (0): * Single equations (assignments): 0 * 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.0006872/0.3688, allocations: 0.8516 MB / 1.046 GB, free: 9.805 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007021/0.3695, allocations: 297.6 kB / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3695, allocations: 0 / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.3695, allocations: 0 / 1.046 GB, free: 9.488 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.3702, allocations: 0.5537 MB / 1.047 GB, free: 8.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3726, allocations: 0.9072 MB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3729, allocations: 0.6967 MB / 1.049 GB, free: 7.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.3731, allocations: 24.53 kB / 1.049 GB, free: 7.223 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.3732, allocations: 27.42 kB / 1.049 GB, free: 7.195 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.3732, allocations: 0 / 1.049 GB, free: 7.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3944, allocations: 4.31 MB / 1.053 GB, free: 3.133 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.3947, allocations: 252.5 kB / 1.053 GB, free: 2.848 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.099, allocations: 0 / 1.053 GB, free: 2.848 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1)