Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",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.702/1.702, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001867/0.001867, allocations: 188.8 kB / 366.7 MB, free: 1.652 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.935/1.935, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0008899/0.00089, allocations: 82.27 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.238e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8817, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/2.259, allocations: 447.3 MB / 1.41 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/2.26, allocations: 95 kB / 1.41 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.706/6.965, allocations: 1.272 GB / 2.682 GB, free: 34.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.803e-06/6.965, allocations: 0 / 2.682 GB, free: 34.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002981/6.966, allocations: 78.19 kB / 2.682 GB, free: 34.92 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.006628/6.972, allocations: 2.745 MB / 2.685 GB, free: 32.15 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/6.972, allocations: 8.031 kB / 2.685 GB, free: 32.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/6.978, allocations: 0.9961 MB / 2.686 GB, free: 31.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/6.984, allocations: 2.93 MB / 2.689 GB, free: 28.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/6.984, allocations: 64 kB / 2.689 GB, free: 28.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/6.985, allocations: 116 kB / 2.689 GB, free: 28.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002893/6.988, allocations: 1.573 MB / 2.691 GB, free: 26.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/6.991, allocations: 1.873 MB / 2.692 GB, free: 24.49 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/6.991, allocations: 4 kB / 2.692 GB, free: 24.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/6.991, allocations: 0 / 2.692 GB, free: 24.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/6.991, allocations: 48 kB / 2.692 GB, free: 24.44 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.01444/7.005, allocations: 11.8 MB / 2.704 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/7.009, allocations: 1.397 MB / 2.705 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/7.009, allocations: 0.6613 MB / 2.706 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009189/7.01, allocations: 1.37 MB / 2.707 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/7.01, allocations: 43.88 kB / 2.707 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001576/7.012, allocations: 242.8 kB / 2.708 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 3.877e-06/7.012, allocations: 0 / 2.708 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.007154/7.019, allocations: 3.449 MB / 2.711 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/7.019, allocations: 163.5 kB / 2.711 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/7.021, allocations: 1.555 MB / 2.713 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/7.021, allocations: 33.64 kB / 2.713 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/7.022, allocations: 1.21 MB / 2.714 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/7.022, allocations: 370.4 kB / 2.714 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/7.022, allocations: 0 / 2.714 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/7.022, allocations: 361.9 kB / 2.714 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/7.023, allocations: 0.5391 MB / 2.715 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/7.025, allocations: 0.9985 MB / 2.716 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/7.026, allocations: 0.7227 MB / 2.717 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/7.026, allocations: 4 kB / 2.717 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007423/7.034, allocations: 2.386 MB / 2.719 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001893/7.036, allocations: 3.707 MB / 2.723 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/7.036, allocations: 12 kB / 2.723 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/7.039, allocations: 0.8503 MB / 2.723 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/7.041, allocations: 375.4 kB / 2.724 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/7.051, allocations: 5.291 MB / 2.729 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/7.055, allocations: 367.5 kB / 2.729 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005198/7.056, allocations: 79.94 kB / 2.729 GB, free: 464 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/7.056, allocations: 4 kB / 2.729 GB, free: 460 kB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7695/7.826, allocations: 2.006 MB / 2.731 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/7.826, allocations: 9.469 kB / 2.731 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/7.828, allocations: 0.5752 MB / 2.732 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/7.83, allocations: 393 kB / 2.732 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/7.841, allocations: 6.965 MB / 2.739 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/7.845, allocations: 314.7 kB / 2.739 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003175/7.845, allocations: 73.91 kB / 2.74 GB, free: 102.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 16,1 19,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004869/7.846, allocations: 136.1 kB / 2.74 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004198/7.85, allocations: 1.447 MB / 2.741 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005071/7.85, allocations: 223.6 kB / 2.741 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/7.854, allocations: 1.786 MB / 2.743 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/7.854, allocations: 12.31 kB / 2.743 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/7.854, allocations: 2.531 kB / 2.743 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002718/7.857, allocations: 1.656 MB / 2.745 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/7.865, allocations: 3.981 MB / 2.749 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/7.865, allocations: 2.188 kB / 2.749 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/7.867, allocations: 301.2 kB / 2.749 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/7.868, allocations: 402.2 kB / 2.749 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/7.868, allocations: 20.38 kB / 2.749 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/7.869, allocations: 1.541 MB / 2.751 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/7.869, allocations: 2.812 kB / 2.751 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/7.873, allocations: 2.512 MB / 2.753 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/7.875, allocations: 0.4989 MB / 2.754 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/7.875, allocations: 7.109 kB / 2.754 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/7.877, allocations: 297.6 kB / 2.754 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/7.877, allocations: 73.75 kB / 2.754 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/7.877, allocations: 49.44 kB / 2.754 GB, free: 100 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001863/7.879, allocations: 1.163 MB / 2.755 GB, free: 99.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.91e-07/7.879, allocations: 3.125 kB / 2.755 GB, free: 99.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005826/7.885, allocations: 1.267 MB / 2.756 GB, free: 99.87 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 20,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005731/7.891, allocations: 4.26 MB / 2.761 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004556/7.896, allocations: 2.904 MB / 2.763 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/7.896, allocations: 1.25 kB / 2.763 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/7.897, allocations: 0.6729 MB / 2.764 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/7.902, allocations: 1.037 MB / 2.765 GB, free: 98.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/7.915, allocations: 4.084 MB / 2.769 GB, free: 97.18 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/7.917, allocations: 1.672 MB / 2.771 GB, free: 96.44 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004104/7.921, allocations: 0.575 MB / 2.771 GB, free: 96.42 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/7.922, allocations: 1.004 MB / 2.772 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of SimCode: time 2.264e-06/7.922, allocations: 0 / 2.772 GB, free: 96.41 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/8.08, allocations: 77.55 MB / 2.848 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/8.081, allocations: 220 kB / 2.848 GB, free: 93.13 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.269/13.35, allocations: 0 / 2.848 GB, free: 93.13 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)