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.003958/0.003958, allocations: 97.42 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 193.4 kB / 16.68 MB, free: 5.523 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 63.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.604/0.6057, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05239/0.6581, allocations: 53.75 MB / 1.273 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.6811, allocations: 17.01 MB / 1.289 GB, free: 11.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.6829, allocations: 91.5 kB / 1.289 GB, free: 10.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004064/0.687, allocations: 1.918 MB / 1.291 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.6918, allocations: 2.509 MB / 1.294 GB, free: 6.551 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.6964, allocations: 2.34 MB / 1.296 GB, free: 4.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008954/0.7053, allocations: 7.535 MB / 1.303 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.7074, allocations: 1.67 MB / 1.305 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.7106, allocations: 1.93 MB / 1.307 GB, free: 9.031 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.7123, allocations: 1.432 MB / 1.308 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.7126, allocations: 176 kB / 1.308 GB, free: 7.422 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.7159, allocations: 2.024 MB / 1.31 GB, free: 5.395 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006072/0.7166, allocations: 0.658 MB / 1.311 GB, free: 4.734 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.7177, allocations: 1.232 MB / 1.312 GB, free: 3.496 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.7222, allocations: 3.939 MB / 1.316 GB, free: 15.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7222, allocations: 0 / 1.316 GB, free: 15.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7222, allocations: 0 / 1.316 GB, free: 15.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.7223, allocations: 0 / 1.316 GB, free: 15.54 MB / 1.045 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.004313/0.7266, allocations: 3.042 MB / 1.319 GB, free: 12.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7266, allocations: 15.98 kB / 1.319 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.7268, allocations: 169.1 kB / 1.319 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.7291, allocations: 0.5604 MB / 1.32 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.7333, allocations: 2.748 MB / 1.322 GB, free: 8.844 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.7334, allocations: 94.23 kB / 1.323 GB, free: 8.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.7336, allocations: 116 kB / 1.323 GB, free: 8.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.736, allocations: 1.371 MB / 1.324 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.736, allocations: 0 / 1.324 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.7362, allocations: 52 kB / 1.324 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.7362, allocations: 46.06 kB / 1.324 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.7388, allocations: 1.105 MB / 1.325 GB, free: 5.957 MB / 1.045 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.008797/0.7476, allocations: 7.474 MB / 1.332 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.75, allocations: 1.339 MB / 1.334 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/0.751, allocations: 426.8 kB / 1.334 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004954/0.7559, allocations: 3.157 MB / 1.337 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/0.7569, allocations: 430.9 kB / 1.338 GB, free: 8.125 MB / 1.061 GB Notification: Performance of pre-optimization done (n=59): time 2.204e-06/0.7569, allocations: 0 / 1.338 GB, free: 8.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=59): time 0.002975/0.7599, allocations: 1.261 MB / 1.339 GB, free: 6.836 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.76, allocations: 59.97 kB / 1.339 GB, free: 6.766 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.7625, allocations: 2.125 MB / 1.341 GB, free: 4.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.7626, allocations: 41.7 kB / 1.341 GB, free: 4.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/0.7635, allocations: 1.036 MB / 1.342 GB, free: 3.523 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.7637, allocations: 230.2 kB / 1.342 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.7641, allocations: 314.6 kB / 1.343 GB, free: 2.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7642, allocations: 305.1 kB / 1.343 GB, free: 2.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.7653, allocations: 0.5531 MB / 1.343 GB, free: 2.121 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.7669, allocations: 0.9963 MB / 1.344 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.7692, allocations: 1.444 MB / 1.346 GB, free: 15.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7693, allocations: 0 / 1.346 GB, free: 15.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003119/0.7724, allocations: 1.776 MB / 1.348 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.7724, allocations: 45.73 kB / 1.348 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7725, allocations: 12 kB / 1.348 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.7725, allocations: 20 kB / 1.348 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.7736, allocations: 311.5 kB / 1.348 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.7736, allocations: 19.94 kB / 1.348 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.7746, allocations: 187 kB / 1.348 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.7747, allocations: 59.98 kB / 1.348 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001633/0.7764, allocations: 0.9678 MB / 1.349 GB, free: 11.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001468/0.7778, allocations: 0.9963 MB / 1.35 GB, free: 10.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002369/0.7802, allocations: 1.447 MB / 1.352 GB, free: 9.121 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.7802, allocations: 8 kB / 1.352 GB, free: 9.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003106/0.7834, allocations: 1.774 MB / 1.353 GB, free: 7.328 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.7834, allocations: 42.39 kB / 1.353 GB, free: 7.281 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.7834, allocations: 12 kB / 1.353 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7834, allocations: 27.94 kB / 1.353 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.7845, allocations: 303.5 kB / 1.354 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.7845, allocations: 23.92 kB / 1.354 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.7855, allocations: 159.3 kB / 1.354 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.7857, allocations: 71.97 kB / 1.354 GB, free: 6.695 MB / 1.076 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.000228/0.7859, allocations: 255.8 kB / 1.354 GB, free: 6.438 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.7862, allocations: 214.5 kB / 1.354 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.7886, allocations: 1.123 MB / 1.355 GB, free: 5.086 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.7887, allocations: 15.98 kB / 1.355 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7887, allocations: 0 / 1.355 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001917/0.7906, allocations: 0.9465 MB / 1.356 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.795, allocations: 2.625 MB / 1.359 GB, free: 1.375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.795, allocations: 7.938 kB / 1.359 GB, free: 1.367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.7957, allocations: 147.8 kB / 1.359 GB, free: 1.223 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.7958, allocations: 24.84 kB / 1.359 GB, free: 1.195 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.7959, allocations: 23.98 kB / 1.359 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.797, allocations: 1.422 MB / 1.361 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.797, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.8001, allocations: 1.576 MB / 1.362 GB, free: 14.01 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.8006, allocations: 411.3 kB / 1.362 GB, free: 13.59 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.8008, allocations: 19.98 kB / 1.362 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/0.8017, allocations: 71.94 kB / 1.363 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8018, allocations: 56.48 kB / 1.363 GB, free: 13.44 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.8018, allocations: 31.97 kB / 1.363 GB, free: 13.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001935/0.8038, allocations: 1.473 MB / 1.364 GB, free: 11.92 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8038, allocations: 0 / 1.364 GB, free: 11.92 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002099/0.8059, allocations: 1.033 MB / 1.365 GB, free: 10.89 MB / 1.092 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.005531/0.8114, allocations: 2.926 MB / 1.368 GB, free: 8.074 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.8153, allocations: 2.093 MB / 1.37 GB, free: 5.961 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8153, allocations: 4 kB / 1.37 GB, free: 5.957 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.8164, allocations: 0.5372 MB / 1.371 GB, free: 5.402 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.8197, allocations: 0.9659 MB / 1.371 GB, free: 4.457 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02093/0.8406, allocations: 14.74 MB / 1.386 GB, free: 5.195 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8418, allocations: 1.531 MB / 1.387 GB, free: 3.629 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001478/0.8433, allocations: 0.528 MB / 1.388 GB, free: 3.098 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8444, allocations: 0.8546 MB / 1.389 GB, free: 2.242 MB / 1.107 GB Notification: Performance of SimCode: time 4.6e-07/0.8444, allocations: 0 / 1.389 GB, free: 2.242 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.308/2.152, allocations: 56.13 MB / 1.444 GB, free: 10.77 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/21.02, allocations: 8 kB / 1.444 GB, free: 10.76 MB / 1.17 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)