Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.2 MB / 303.2 MB, free: 8.266 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.001378/0.001378, allocations: 191.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.6305 GB, free: 9.91 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.001196/0.001195, allocations: 89.61 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03916/0.2747, allocations: 44.86 MB / 1.023 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.3013, allocations: 15.62 MB / 1.039 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.3049, allocations: 71.5 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.309, allocations: 0.961 MB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008654/0.3177, allocations: 2.329 MB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.328, allocations: 3.004 MB / 1.045 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007824/0.3358, allocations: 2.763 MB / 1.047 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.3393, allocations: 1.242 MB / 1.049 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.3431, allocations: 1.37 MB / 1.05 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.3451, allocations: 0.9098 MB / 1.051 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.3454, allocations: 68 kB / 1.051 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.349, allocations: 1.373 MB / 1.052 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.3495, allocations: 402.4 kB / 1.053 GB, free: 496 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.3503, allocations: 404.6 kB / 1.053 GB, free: 84 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.3541, allocations: 2.439 MB / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3541, allocations: 0 / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3541, allocations: 0 / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.523e-05/0.3542, allocations: 0 / 1.055 GB, free: 13.64 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.004409/0.3586, allocations: 2.237 MB / 1.058 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3587, allocations: 8.031 kB / 1.058 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.3589, allocations: 169 kB / 1.058 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.361, allocations: 488.9 kB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.3641, allocations: 1.532 MB / 1.06 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.3645, allocations: 154.2 kB / 1.06 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.3647, allocations: 123.9 kB / 1.06 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.3673, allocations: 1.376 MB / 1.061 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.3674, allocations: 0 / 1.061 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.3675, allocations: 48 kB / 1.061 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.3676, allocations: 39.98 kB / 1.061 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3702, allocations: 1.117 MB / 1.063 GB, free: 6.125 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.5215/0.8917, allocations: 7.145 MB / 1.07 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.8947, allocations: 1.412 MB / 1.071 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005532/0.9003, allocations: 3.086 MB / 1.074 GB, free: 83.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/0.9016, allocations: 450.6 kB / 1.074 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007361/0.9023, allocations: 94.66 kB / 1.074 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.308e-06/0.9023, allocations: 3.469 kB / 1.074 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.003848/0.9062, allocations: 1.281 MB / 1.076 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.9063, allocations: 140.6 kB / 1.076 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.9096, allocations: 1.6 MB / 1.077 GB, free: 82.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.9098, allocations: 45.92 kB / 1.077 GB, free: 82.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.9108, allocations: 0.8887 MB / 1.078 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.9111, allocations: 217.7 kB / 1.079 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.9111, allocations: 20.06 kB / 1.079 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9113, allocations: 344.1 kB / 1.079 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.9124, allocations: 392.7 kB / 1.079 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.9139, allocations: 0.7915 MB / 1.08 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.9152, allocations: 0.4934 MB / 1.08 GB, free: 80 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.9152, allocations: 3.219 kB / 1.08 GB, free: 80 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003635/0.9188, allocations: 1.335 MB / 1.082 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009595/0.9198, allocations: 4.371 MB / 1.086 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.69e-05/0.9199, allocations: 12.98 kB / 1.086 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-05/0.9199, allocations: 17.16 kB / 1.086 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.9212, allocations: 276.7 kB / 1.086 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-05/0.9213, allocations: 26.62 kB / 1.086 GB, free: 74.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.9229, allocations: 135.4 kB / 1.087 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.923, allocations: 61.12 kB / 1.087 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.9231, allocations: 7 kB / 1.087 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002866/0.9259, allocations: 1.158 MB / 1.088 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.926, allocations: 12.53 kB / 1.088 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.926, allocations: 17.75 kB / 1.088 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.9271, allocations: 269.5 kB / 1.088 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/0.9272, allocations: 22.7 kB / 1.088 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.9286, allocations: 126.9 kB / 1.088 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.9288, allocations: 60.06 kB / 1.088 GB, free: 74.3 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.001102/0.9299, allocations: 487.5 kB / 1.089 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.9302, allocations: 171.4 kB / 1.089 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.9332, allocations: 1.154 MB / 1.09 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.9333, allocations: 9.578 kB / 1.09 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.9333, allocations: 5.594 kB / 1.09 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002081/0.9354, allocations: 0.9927 MB / 1.091 GB, free: 72.93 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.006178/0.9415, allocations: 2.481 MB / 1.093 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.9416, allocations: 1.844 kB / 1.093 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.9424, allocations: 156.8 kB / 1.093 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.9426, allocations: 37.77 kB / 1.094 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.9427, allocations: 25.81 kB / 1.094 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.9437, allocations: 1.375 MB / 1.095 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9438, allocations: 1.906 kB / 1.095 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.9474, allocations: 1.646 MB / 1.097 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.9485, allocations: 357 kB / 1.097 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000431/0.9489, allocations: 23.89 kB / 1.097 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.9502, allocations: 120.4 kB / 1.097 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.9504, allocations: 54.55 kB / 1.097 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.9505, allocations: 31.05 kB / 1.097 GB, free: 69.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002806/0.9533, allocations: 1.141 MB / 1.098 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9533, allocations: 0 / 1.098 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004492/0.9578, allocations: 0.9373 MB / 1.099 GB, free: 68.7 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.005834/0.9637, allocations: 2.975 MB / 1.102 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004526/0.9682, allocations: 1.711 MB / 1.104 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.9682, allocations: 5.031 kB / 1.104 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.9697, allocations: 0.5678 MB / 1.104 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/0.9741, allocations: 0.7354 MB / 1.105 GB, free: 66.08 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.9863, allocations: 12.31 MB / 1.117 GB, free: 55.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9877, allocations: 1.41 MB / 1.118 GB, free: 54.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002504/0.9902, allocations: 426.5 kB / 1.119 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.9914, allocations: 0.7263 MB / 1.119 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/0.9914, allocations: 0 / 1.119 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0838/1.075, allocations: 47.22 MB / 1.166 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/1.075, allocations: 247.4 kB / 1.166 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/4.455, allocations: 7.938 kB / 1.166 GB, free: 15.73 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)