Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_latest_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.001226/0.001226, allocations: 108 kB / 15.6 MB, free: 132 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.001259/0.001259, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.78 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2309, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04633/0.2772, allocations: 53.75 MB / 1.105 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.2986, allocations: 17.01 MB / 1.122 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.3007, allocations: 87.5 kB / 1.122 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007394/0.3081, allocations: 4.364 MB / 1.126 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.3133, allocations: 2.394 MB / 1.129 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.3179, allocations: 2.281 MB / 1.131 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007912/0.3258, allocations: 7.409 MB / 1.138 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.328, allocations: 1.639 MB / 1.14 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.3313, allocations: 1.874 MB / 1.142 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.3332, allocations: 1.4 MB / 1.143 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.3336, allocations: 172 kB / 1.143 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.3369, allocations: 2.008 MB / 1.145 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.3376, allocations: 0.6541 MB / 1.146 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.339, allocations: 1.209 MB / 1.147 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.3436, allocations: 3.844 MB / 1.151 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3436, allocations: 0 / 1.151 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3436, allocations: 4 kB / 1.151 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.291e-05/0.3437, allocations: 0 / 1.151 GB, free: 3.844 MB / 0.9044 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.004788/0.3485, allocations: 2.92 MB / 1.154 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3486, allocations: 12.03 kB / 1.154 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.3487, allocations: 177 kB / 1.154 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.3511, allocations: 0.5511 MB / 1.154 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.3548, allocations: 2.614 MB / 1.157 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.3551, allocations: 154.2 kB / 1.157 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.3553, allocations: 123.9 kB / 1.157 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.3576, allocations: 1.367 MB / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3577, allocations: 8 kB / 1.158 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3578, allocations: 48 kB / 1.158 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.3578, allocations: 42.06 kB / 1.158 GB, free: 11.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.3604, allocations: 1.117 MB / 1.16 GB, free: 10.45 MB / 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.007856/0.3682, allocations: 7.511 MB / 1.167 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.3705, allocations: 1.361 MB / 1.168 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.3715, allocations: 422.9 kB / 1.169 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00441/0.3759, allocations: 3.156 MB / 1.172 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/0.3769, allocations: 438.8 kB / 1.172 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=59): time 2.194e-06/0.3769, allocations: 4 kB / 1.172 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59): time 0.0029/0.3798, allocations: 1.263 MB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3798, allocations: 59.97 kB / 1.173 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/0.382, allocations: 2.11 MB / 1.175 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.3821, allocations: 45.7 kB / 1.176 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/0.3828, allocations: 1.014 MB / 1.177 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.383, allocations: 224.9 kB / 1.177 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.3833, allocations: 310.6 kB / 1.177 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.3834, allocations: 305.1 kB / 1.177 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3845, allocations: 0.5571 MB / 1.178 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.3859, allocations: 0.9964 MB / 1.179 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3882, allocations: 1.463 MB / 1.18 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.3882, allocations: 4 kB / 1.18 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002997/0.3912, allocations: 1.79 MB / 1.182 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.3912, allocations: 33.7 kB / 1.182 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3913, allocations: 12 kB / 1.182 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.3913, allocations: 20 kB / 1.182 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3923, allocations: 311.9 kB / 1.182 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.3924, allocations: 27.88 kB / 1.182 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3935, allocations: 183 kB / 1.183 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.3936, allocations: 67.97 kB / 1.183 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001539/0.3951, allocations: 0.9718 MB / 1.184 GB, free: 324 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.3965, allocations: 1 MB / 1.185 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002253/0.3987, allocations: 1.462 MB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.553e-06/0.3988, allocations: 4 kB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002991/0.4018, allocations: 1.782 MB / 1.188 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4018, allocations: 39.58 kB / 1.188 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4018, allocations: 12 kB / 1.188 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4018, allocations: 20 kB / 1.188 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.4029, allocations: 307.5 kB / 1.188 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.4029, allocations: 31.86 kB / 1.188 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.404, allocations: 159.8 kB / 1.188 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/0.4041, allocations: 63.97 kB / 1.188 GB, free: 11.08 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.0002172/0.4043, allocations: 263.7 kB / 1.189 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4046, allocations: 201.4 kB / 1.189 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.407, allocations: 1.15 MB / 1.19 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4071, allocations: 8 kB / 1.19 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4071, allocations: 0 / 1.19 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/0.4092, allocations: 0.9698 MB / 1.191 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.4134, allocations: 2.616 MB / 1.193 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4134, allocations: 8.062 kB / 1.193 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/0.4141, allocations: 147.8 kB / 1.194 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.4143, allocations: 28.84 kB / 1.194 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.4143, allocations: 19.98 kB / 1.194 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008717/0.4152, allocations: 1.421 MB / 1.195 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4152, allocations: 3.938 kB / 1.195 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.4183, allocations: 1.581 MB / 1.197 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.4188, allocations: 402 kB / 1.197 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.419, allocations: 15.94 kB / 1.197 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/0.4199, allocations: 75.83 kB / 1.197 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.42, allocations: 48.5 kB / 1.197 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.4201, allocations: 31.97 kB / 1.197 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001678/0.4218, allocations: 1.465 MB / 1.199 GB, free: 300 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4218, allocations: 0 / 1.199 GB, free: 300 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002106/0.4239, allocations: 1.022 MB / 1.2 GB, free: 15.27 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.00506/0.4289, allocations: 2.92 MB / 1.202 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00409/0.4331, allocations: 2.187 MB / 1.205 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4331, allocations: 0 / 1.205 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.4342, allocations: 0.5453 MB / 1.205 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.4378, allocations: 0.9586 MB / 1.206 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.4595, allocations: 16.27 MB / 1.222 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.4605, allocations: 1.542 MB / 1.223 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001814/0.4623, allocations: 0.524 MB / 1.224 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/0.4633, allocations: 0.8585 MB / 1.225 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of SimCode: time 8.11e-07/0.4633, allocations: 4 kB / 1.225 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.935/2.399, allocations: 55.71 MB / 1.279 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/17, allocations: 6.125 kB / 1.279 GB, free: 172.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)