Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_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.00105/0.00105, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001509/0.001508, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006392, allocations: 14.72 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2894, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04728/0.3368, allocations: 44.86 MB / 0.831 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.363, allocations: 15.62 MB / 0.8463 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.3665, allocations: 71.5 kB / 0.8464 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/0.3708, allocations: 0.9627 MB / 0.8473 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008555/0.3794, allocations: 2.33 MB / 0.8496 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009806/0.3892, allocations: 3 MB / 0.8525 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006583/0.3958, allocations: 2.776 MB / 0.8552 GB, free: 6.148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.3991, allocations: 1.242 MB / 0.8564 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/0.4034, allocations: 1.37 MB / 0.8578 GB, free: 3.504 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.4061, allocations: 0.9176 MB / 0.8587 GB, free: 2.582 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007219/0.4068, allocations: 68 kB / 0.8587 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.4115, allocations: 1.365 MB / 0.8601 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009628/0.4125, allocations: 398.4 kB / 0.8604 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.4137, allocations: 404.6 kB / 0.8608 GB, free: 364 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.4189, allocations: 2.436 MB / 0.8632 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.419, allocations: 4 kB / 0.8632 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.955e-06/0.419, allocations: 0 / 0.8632 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000126/0.4191, allocations: 4 kB / 0.8632 GB, free: 13.91 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005895/0.425, allocations: 2.221 MB / 0.8654 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4251, allocations: 12.03 kB / 0.8654 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004589/0.4256, allocations: 169 kB / 0.8656 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.4279, allocations: 489 kB / 0.866 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.4318, allocations: 1.536 MB / 0.8675 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.4322, allocations: 154.2 kB / 0.8677 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.4325, allocations: 120 kB / 0.8678 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.4356, allocations: 1.38 MB / 0.8691 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.4356, allocations: 4 kB / 0.8691 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.4358, allocations: 48 kB / 0.8692 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.4358, allocations: 28 kB / 0.8692 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.4387, allocations: 1.113 MB / 0.8703 GB, free: 6.414 MB / 0.6856 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.01185/0.4505, allocations: 7.155 MB / 0.8773 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.4536, allocations: 1.418 MB / 0.8787 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005572/0.4592, allocations: 3.087 MB / 0.8817 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.4606, allocations: 458.8 kB / 0.8821 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006728/0.4613, allocations: 95.25 kB / 0.8822 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.346e-06/0.4613, allocations: 0 / 0.8822 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.003312/0.4646, allocations: 1.284 MB / 0.8835 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.4647, allocations: 141 kB / 0.8836 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.467, allocations: 1.605 MB / 0.8852 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.4672, allocations: 45.7 kB / 0.8852 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009187/0.4681, allocations: 0.892 MB / 0.8861 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.4683, allocations: 212.9 kB / 0.8863 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.4684, allocations: 20 kB / 0.8863 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4686, allocations: 341.9 kB / 0.8866 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/0.4696, allocations: 394.1 kB / 0.887 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.4711, allocations: 0.7871 MB / 0.8878 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.4722, allocations: 0.5005 MB / 0.8883 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.4722, allocations: 4 kB / 0.8883 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003001/0.4752, allocations: 1.325 MB / 0.8896 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0019/0.4771, allocations: 4.375 MB / 0.8938 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.4772, allocations: 12 kB / 0.8938 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.4773, allocations: 23.94 kB / 0.8939 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4783, allocations: 271.6 kB / 0.8941 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/0.4784, allocations: 19.94 kB / 0.8941 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.48, allocations: 132.5 kB / 0.8943 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4801, allocations: 59.97 kB / 0.8943 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4801, allocations: 4 kB / 0.8943 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002657/0.4828, allocations: 1.161 MB / 0.8955 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.4828, allocations: 12 kB / 0.8955 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4829, allocations: 19.95 kB / 0.8955 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/0.4838, allocations: 271.6 kB / 0.8958 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.4839, allocations: 19.94 kB / 0.8958 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4853, allocations: 132.4 kB / 0.8959 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4854, allocations: 55.97 kB / 0.896 GB, free: 10.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.0009502/0.4864, allocations: 481.3 kB / 0.8964 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.4867, allocations: 165.8 kB / 0.8966 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.4893, allocations: 1.171 MB / 0.8977 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.4894, allocations: 8 kB / 0.8977 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4894, allocations: 8 kB / 0.8977 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/0.4913, allocations: 0.9861 MB / 0.8987 GB, free: 7.555 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.004636/0.496, allocations: 2.475 MB / 0.9011 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/0.496, allocations: 11.89 kB / 0.9011 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.4968, allocations: 159.8 kB / 0.9013 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/0.497, allocations: 36.83 kB / 0.9013 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.4971, allocations: 19.98 kB / 0.9013 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.4983, allocations: 1.378 MB / 0.9027 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4983, allocations: 0 / 0.9027 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.5026, allocations: 1.631 MB / 0.9043 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.5041, allocations: 366.5 kB / 0.9046 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.5046, allocations: 15.98 kB / 0.9046 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.5063, allocations: 123.8 kB / 0.9047 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5065, allocations: 52.44 kB / 0.9048 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/0.5066, allocations: 35.97 kB / 0.9048 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001968/0.5085, allocations: 1.137 MB / 0.9059 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5085, allocations: 0 / 0.9059 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003012/0.5116, allocations: 0.9396 MB / 0.9069 GB, free: 14.88 MB / 0.7325 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.x[1],mov.filter.x[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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00547/0.517, allocations: 2.979 MB / 0.9098 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003692/0.5208, allocations: 1.71 MB / 0.9114 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5208, allocations: 4.062 kB / 0.9114 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.522, allocations: 0.572 MB / 0.912 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/0.5256, allocations: 0.7293 MB / 0.9127 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5417/1.067, allocations: 12.31 MB / 0.9247 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.069, allocations: 1.404 MB / 0.9261 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002296/1.071, allocations: 435.6 kB / 0.9265 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.072, allocations: 0.7246 MB / 0.9272 GB, free: 125 MB / 0.7325 GB Notification: Performance of SimCode: time 1.313e-06/1.072, allocations: 0 / 0.9272 GB, free: 125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.95/3.022, allocations: 47.2 MB / 0.9733 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/3.022, allocations: 243.5 kB / 0.9736 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/7.204, allocations: 0 / 0.9736 GB, free: 103.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: