Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 62.91 kB / 0.9086 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2347, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05161/0.2864, allocations: 53.76 MB / 1.117 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.3084, allocations: 17.01 MB / 1.133 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.3097, allocations: 91.5 kB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006941/0.3167, allocations: 4.347 MB / 1.138 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.3209, allocations: 2.41 MB / 1.14 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.325, allocations: 2.267 MB / 1.142 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00784/0.3329, allocations: 7.432 MB / 1.149 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.3348, allocations: 1.639 MB / 1.151 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.3377, allocations: 1.872 MB / 1.153 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.3393, allocations: 1.404 MB / 1.154 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.3396, allocations: 172 kB / 1.154 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.3427, allocations: 2.004 MB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/0.3433, allocations: 0.6462 MB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.3444, allocations: 1.224 MB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.3483, allocations: 3.84 MB / 1.162 GB, free: 9.805 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3484, allocations: 0 / 1.162 GB, free: 9.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3484, allocations: 0 / 1.162 GB, free: 9.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.3484, allocations: 0 / 1.162 GB, free: 9.805 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004084/0.3525, allocations: 2.928 MB / 1.165 GB, free: 6.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.3525, allocations: 8.031 kB / 1.165 GB, free: 6.789 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.3527, allocations: 169.1 kB / 1.165 GB, free: 6.613 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.3551, allocations: 0.5472 MB / 1.165 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.3589, allocations: 2.618 MB / 1.168 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.3593, allocations: 150.2 kB / 1.168 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.3594, allocations: 124 kB / 1.168 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.3619, allocations: 1.371 MB / 1.17 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.3619, allocations: 3.938 kB / 1.17 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.362, allocations: 48 kB / 1.17 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.3621, allocations: 42.08 kB / 1.17 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.3647, allocations: 1.113 MB / 1.171 GB, free: 428 kB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008766/0.3735, allocations: 7.511 MB / 1.178 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.3759, allocations: 1.358 MB / 1.179 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.3769, allocations: 432.7 kB / 1.18 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004748/0.3817, allocations: 3.156 MB / 1.183 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.3827, allocations: 442.8 kB / 1.183 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=59): time 1.774e-06/0.3827, allocations: 0 / 1.183 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59): time 0.003052/0.3858, allocations: 1.267 MB / 1.185 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3858, allocations: 59.97 kB / 1.185 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.3882, allocations: 2.11 MB / 1.187 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.3883, allocations: 37.7 kB / 1.187 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.3892, allocations: 1.018 MB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.3893, allocations: 220.9 kB / 1.188 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.3898, allocations: 314.6 kB / 1.188 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3899, allocations: 305.1 kB / 1.188 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.391, allocations: 0.5571 MB / 1.189 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.3925, allocations: 0.9963 MB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.395, allocations: 1.467 MB / 1.191 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.395, allocations: 4 kB / 1.191 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003147/0.3981, allocations: 1.778 MB / 1.193 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.3982, allocations: 41.69 kB / 1.193 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3982, allocations: 12 kB / 1.193 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.3982, allocations: 16 kB / 1.193 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3993, allocations: 312.2 kB / 1.194 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.3993, allocations: 23.92 kB / 1.194 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.4004, allocations: 195 kB / 1.194 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.4005, allocations: 63.98 kB / 1.194 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001625/0.4021, allocations: 0.9756 MB / 1.195 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.4036, allocations: 0.9963 MB / 1.196 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002386/0.406, allocations: 1.462 MB / 1.197 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/0.406, allocations: 4 kB / 1.197 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003109/0.4091, allocations: 1.785 MB / 1.199 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.4091, allocations: 37.7 kB / 1.199 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4092, allocations: 15.94 kB / 1.199 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4092, allocations: 16 kB / 1.199 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4102, allocations: 319.8 kB / 1.199 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.4103, allocations: 19.94 kB / 1.199 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.4113, allocations: 163.6 kB / 1.199 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.4114, allocations: 59.98 kB / 1.2 GB, free: 1.047 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0002262/0.4116, allocations: 264.3 kB / 1.2 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.4119, allocations: 201.4 kB / 1.2 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.4145, allocations: 1.139 MB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4145, allocations: 11.98 kB / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4145, allocations: 0 / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/0.4165, allocations: 0.9738 MB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.4209, allocations: 2.616 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4209, allocations: 0 / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/0.4216, allocations: 151.9 kB / 1.205 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.4218, allocations: 28.78 kB / 1.205 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/0.4218, allocations: 19.98 kB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.4229, allocations: 1.429 MB / 1.206 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4229, allocations: 3.938 kB / 1.206 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.4261, allocations: 1.581 MB / 1.208 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.4266, allocations: 402 kB / 1.208 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.4269, allocations: 15.94 kB / 1.208 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008406/0.4277, allocations: 71.86 kB / 1.208 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4278, allocations: 56.48 kB / 1.208 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.4279, allocations: 23.98 kB / 1.208 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001795/0.4297, allocations: 1.469 MB / 1.21 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4297, allocations: 3.938 kB / 1.21 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002067/0.4318, allocations: 1.022 MB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005476/0.4373, allocations: 2.911 MB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004096/0.4414, allocations: 2.174 MB / 1.216 GB, free: 236 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4414, allocations: 4 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.4425, allocations: 0.5539 MB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.4458, allocations: 0.9616 MB / 1.217 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.4674, allocations: 16.26 MB / 1.233 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.4685, allocations: 1.542 MB / 1.235 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001695/0.4702, allocations: 0.528 MB / 1.235 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.4713, allocations: 0.8624 MB / 1.236 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.4713, allocations: 0 / 1.236 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 14.51/14.98, allocations: 55.69 MB / 1.29 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/30.7, allocations: 14.92 kB / 1.29 GB, free: 162.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)