Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.796/2.796, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 179 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 116.1 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005013, allocations: 11.94 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07628/0.3032, allocations: 44.85 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0384/0.3417, allocations: 15.63 MB / 1.037 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.3451, allocations: 67.5 kB / 1.037 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005247/0.3504, allocations: 0.9616 MB / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.3619, allocations: 2.328 MB / 1.041 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.3763, allocations: 3.009 MB / 1.044 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008206/0.3845, allocations: 2.769 MB / 1.046 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.3882, allocations: 1.238 MB / 1.047 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.3933, allocations: 1.37 MB / 1.049 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.3961, allocations: 0.9176 MB / 1.05 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007286/0.3969, allocations: 68 kB / 1.05 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005579/0.4025, allocations: 1.369 MB / 1.051 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.4036, allocations: 394.5 kB / 1.051 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.4048, allocations: 412.6 kB / 1.052 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.4109, allocations: 2.443 MB / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.411, allocations: 0 / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/0.411, allocations: 0 / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000111/0.4111, allocations: 0 / 1.054 GB, free: 14.36 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007405/0.4185, allocations: 2.218 MB / 1.056 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.4186, allocations: 12.03 kB / 1.056 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006859/0.4193, allocations: 173 kB / 1.057 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.424, allocations: 485 kB / 1.057 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.4295, allocations: 1.536 MB / 1.059 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008016/0.4304, allocations: 162.1 kB / 1.059 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005346/0.431, allocations: 124 kB / 1.059 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/0.4361, allocations: 1.376 MB / 1.06 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.4363, allocations: 0 / 1.06 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.4365, allocations: 51.94 kB / 1.06 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.4365, allocations: 28 kB / 1.06 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.4419, allocations: 1.117 MB / 1.061 GB, free: 6.859 MB / 0.6823 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.651/1.093, allocations: 7.155 MB / 1.068 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/1.098, allocations: 1.41 MB / 1.07 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007711/1.106, allocations: 3.078 MB / 1.073 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/1.107, allocations: 459.9 kB / 1.073 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008726/1.108, allocations: 93.86 kB / 1.073 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.928e-06/1.108, allocations: 0 / 1.073 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006331/1.115, allocations: 1.285 MB / 1.075 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/1.115, allocations: 140.7 kB / 1.075 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/1.12, allocations: 1.602 MB / 1.076 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/1.12, allocations: 47.17 kB / 1.076 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/1.121, allocations: 0.8883 MB / 1.077 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/1.122, allocations: 218.1 kB / 1.077 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/1.122, allocations: 20.22 kB / 1.077 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.122, allocations: 343 kB / 1.078 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.124, allocations: 391.6 kB / 1.078 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/1.126, allocations: 0.7856 MB / 1.079 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.128, allocations: 0.4967 MB / 1.079 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.128, allocations: 3.812 kB / 1.079 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007075/1.135, allocations: 1.329 MB / 1.081 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/1.137, allocations: 4.377 MB / 1.085 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.822e-05/1.137, allocations: 12.47 kB / 1.085 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.952e-05/1.137, allocations: 17.31 kB / 1.085 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/1.139, allocations: 269.8 kB / 1.085 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-05/1.139, allocations: 22.53 kB / 1.085 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/1.142, allocations: 143.1 kB / 1.085 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/1.142, allocations: 55.81 kB / 1.085 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.142, allocations: 4.125 kB / 1.085 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00476/1.147, allocations: 1.159 MB / 1.087 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.301e-05/1.147, allocations: 12.8 kB / 1.087 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/1.147, allocations: 19.91 kB / 1.087 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.149, allocations: 266 kB / 1.087 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/1.149, allocations: 26.02 kB / 1.087 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.151, allocations: 122.9 kB / 1.087 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/1.151, allocations: 56.69 kB / 1.087 GB, free: 75.67 MB / 0.6823 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.001264/1.153, allocations: 486.5 kB / 1.087 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/1.153, allocations: 174.1 kB / 1.088 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.158, allocations: 1.169 MB / 1.089 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.158, allocations: 8.188 kB / 1.089 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.158, allocations: 5.984 kB / 1.089 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003534/1.162, allocations: 0.9875 MB / 1.09 GB, free: 74.32 MB / 0.6823 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.008293/1.17, allocations: 2.483 MB / 1.092 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.17, allocations: 1.422 kB / 1.092 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.171, allocations: 158.5 kB / 1.092 GB, free: 73.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/1.172, allocations: 37.58 kB / 1.092 GB, free: 73.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.172, allocations: 28.08 kB / 1.092 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.173, allocations: 1.378 MB / 1.094 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.173, allocations: 0.9375 kB / 1.094 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/1.179, allocations: 1.643 MB / 1.095 GB, free: 71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.181, allocations: 359.6 kB / 1.096 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.181, allocations: 18.62 kB / 1.096 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/1.183, allocations: 120.8 kB / 1.096 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.183, allocations: 58.86 kB / 1.096 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.183, allocations: 33.45 kB / 1.096 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00285/1.186, allocations: 1.138 MB / 1.097 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/1.186, allocations: 0 / 1.097 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005129/1.192, allocations: 0.9366 MB / 1.098 GB, free: 70.07 MB / 0.6823 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.009352/1.201, allocations: 2.976 MB / 1.101 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006606/1.208, allocations: 1.714 MB / 1.102 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.208, allocations: 1.5 kB / 1.102 GB, free: 67.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.21, allocations: 0.5659 MB / 1.103 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006217/1.216, allocations: 0.7318 MB / 1.104 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.232, allocations: 12.32 MB / 1.116 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.235, allocations: 1.401 MB / 1.117 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003592/1.239, allocations: 431.3 kB / 1.118 GB, free: 56.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.241, allocations: 0.7263 MB / 1.118 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/1.241, allocations: 0 / 1.118 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/1.424, allocations: 47.19 MB / 1.164 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/1.424, allocations: 251.6 kB / 1.165 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.564/5.988, allocations: 0 / 1.165 GB, free: 17.89 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)