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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00172/0.00172, allocations: 183.1 kB / 371.6 MB, free: 3.379 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.958/1.958, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.000987, allocations: 88.66 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.36e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.065/2.384, allocations: 455.6 MB / 1.425 GB, free: 254 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/2.385, allocations: 90.44 kB / 1.425 GB, free: 254 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.525/6.91, allocations: 1.167 GB / 2.592 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.074e-06/6.91, allocations: 0 / 2.592 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000286/6.91, allocations: 56.14 kB / 2.592 GB, free: 126.7 MB / 0.9636 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.006205/6.916, allocations: 2.086 MB / 2.594 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/6.916, allocations: 9.25 kB / 2.594 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004026/6.917, allocations: 169.8 kB / 2.595 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/6.919, allocations: 454.8 kB / 2.595 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/6.926, allocations: 2.291 MB / 2.597 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/6.926, allocations: 90.16 kB / 2.597 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/6.927, allocations: 126.6 kB / 2.597 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/6.929, allocations: 1.245 MB / 2.599 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/6.929, allocations: 3.25 kB / 2.599 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/6.929, allocations: 53.61 kB / 2.599 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/6.929, allocations: 28.88 kB / 2.599 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/6.931, allocations: 0.8359 MB / 2.6 GB, free: 124.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.009401/6.94, allocations: 6.88 MB / 2.606 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/6.942, allocations: 1.147 MB / 2.607 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/6.942, allocations: 309.6 kB / 2.608 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004779/6.947, allocations: 2.911 MB / 2.611 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/6.948, allocations: 351.3 kB / 2.611 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000779/6.949, allocations: 99.23 kB / 2.611 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 3.416e-06/6.949, allocations: 0 / 2.611 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.001462/6.95, allocations: 0.6676 MB / 2.612 GB, free: 118 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/6.95, allocations: 165 kB / 2.612 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/6.953, allocations: 1.336 MB / 2.613 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/6.953, allocations: 57.2 kB / 2.613 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/6.953, allocations: 0.8856 MB / 2.614 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/6.953, allocations: 214.2 kB / 2.614 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/6.954, allocations: 16.34 kB / 2.614 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/6.954, allocations: 347.7 kB / 2.615 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/6.954, allocations: 265.7 kB / 2.615 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/6.955, allocations: 0.705 MB / 2.616 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/6.955, allocations: 416.2 kB / 2.616 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/6.955, allocations: 3.875 kB / 2.616 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001851/6.957, allocations: 1.102 MB / 2.617 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009357/6.958, allocations: 4.551 MB / 2.621 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/6.958, allocations: 12.47 kB / 2.621 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/6.958, allocations: 18.47 kB / 2.621 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/6.959, allocations: 247.9 kB / 2.622 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/6.959, allocations: 20.75 kB / 2.622 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/6.961, allocations: 120.2 kB / 2.622 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/6.961, allocations: 59.73 kB / 2.622 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/6.961, allocations: 5.469 kB / 2.622 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/6.962, allocations: 0.9337 MB / 2.623 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/6.962, allocations: 11.81 kB / 2.623 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/6.962, allocations: 18.38 kB / 2.623 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/6.963, allocations: 245.4 kB / 2.623 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/6.963, allocations: 24.84 kB / 2.623 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/6.965, allocations: 114.2 kB / 2.623 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/6.965, allocations: 55.81 kB / 2.623 GB, free: 111.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0002521/6.965, allocations: 180.2 kB / 2.623 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/6.965, allocations: 171 kB / 2.624 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/6.967, allocations: 0.9404 MB / 2.625 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/6.967, allocations: 9.406 kB / 2.625 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/6.967, allocations: 0 / 2.625 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009036/6.968, allocations: 0.7876 MB / 2.625 GB, free: 110.7 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.003775/6.972, allocations: 2.163 MB / 2.627 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/6.972, allocations: 0 / 2.627 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/6.972, allocations: 134.8 kB / 2.628 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/6.973, allocations: 23.7 kB / 2.628 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/6.973, allocations: 24.84 kB / 2.628 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000777/6.974, allocations: 1.308 MB / 2.629 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/6.974, allocations: 3.938 kB / 2.629 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/6.975, allocations: 1.312 MB / 2.63 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/6.976, allocations: 341.3 kB / 2.63 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/6.976, allocations: 20.53 kB / 2.63 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009065/6.977, allocations: 107.8 kB / 2.631 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/6.977, allocations: 48 kB / 2.631 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/6.977, allocations: 36.78 kB / 2.631 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001556/6.979, allocations: 1.08 MB / 2.632 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/6.979, allocations: 0 / 2.632 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003793/6.983, allocations: 1.021 MB / 2.633 GB, free: 108.2 MB / 0.9636 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) * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/6.987, allocations: 3.187 MB / 2.636 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002222/6.99, allocations: 1.438 MB / 2.637 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/6.99, allocations: 1.188 kB / 2.637 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/6.99, allocations: 453.6 kB / 2.638 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/6.994, allocations: 0.7352 MB / 2.638 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/7.002, allocations: 2.825 MB / 2.641 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/7.003, allocations: 1.414 MB / 2.643 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003038/7.006, allocations: 0.5976 MB / 2.643 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/7.007, allocations: 0.6997 MB / 2.644 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.994e-06/7.007, allocations: 0 / 2.644 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/7.116, allocations: 57.75 MB / 2.7 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/7.116, allocations: 208.7 kB / 2.7 GB, free: 102 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/11.54, allocations: 0 / 2.7 GB, free: 102 MB / 0.9636 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)