Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_Heating,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",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.745/1.745, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001499/0.001499, allocations: 191.9 kB / 377.1 MB, free: 1.527 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.883/1.883, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.001056/0.001056, allocations: 93.2 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.000476, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3416, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.896/2.237, allocations: 447.7 MB / 1.426 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/2.238, allocations: 102.2 kB / 1.426 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.975/7.213, allocations: 1.281 GB / 2.707 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.086e-06/7.213, allocations: 4 kB / 2.707 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005591/7.214, allocations: 74.61 kB / 2.707 GB, free: 86.3 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.01144/7.225, allocations: 3.236 MB / 2.71 GB, free: 84.06 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/7.225, allocations: 14.45 kB / 2.71 GB, free: 84.06 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/7.226, allocations: 263 kB / 2.71 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/7.232, allocations: 0.9979 MB / 2.711 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009831/7.242, allocations: 2.955 MB / 2.714 GB, free: 81.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/7.243, allocations: 148.1 kB / 2.714 GB, free: 81.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/7.244, allocations: 199.5 kB / 2.715 GB, free: 81.17 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007618/7.251, allocations: 2.492 MB / 2.717 GB, free: 79.63 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-05/7.252, allocations: 3.938 kB / 2.717 GB, free: 79.62 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/7.252, allocations: 79 kB / 2.717 GB, free: 79.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.584e-05/7.252, allocations: 47.94 kB / 2.717 GB, free: 79.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006514/7.259, allocations: 2.354 MB / 2.719 GB, free: 78.43 MB / 0.9636 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.02274/7.281, allocations: 12.15 MB / 2.731 GB, free: 67.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/7.29, allocations: 2.337 MB / 2.734 GB, free: 66.79 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/7.291, allocations: 1.373 MB / 2.735 GB, free: 65.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/7.291, allocations: 47.34 kB / 2.735 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002448/7.293, allocations: 272 kB / 2.735 GB, free: 65.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 9.188e-06/7.293, allocations: 0 / 2.735 GB, free: 65.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.03059/7.324, allocations: 8.293 MB / 2.743 GB, free: 59.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/7.324, allocations: 167.2 kB / 2.744 GB, free: 59.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/7.328, allocations: 1.863 MB / 2.745 GB, free: 57.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/7.328, allocations: 53.7 kB / 2.745 GB, free: 57.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008096/7.329, allocations: 1.199 MB / 2.747 GB, free: 56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/7.329, allocations: 388.6 kB / 2.747 GB, free: 55.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/7.329, allocations: 24 kB / 2.747 GB, free: 55.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001023/7.33, allocations: 357.9 kB / 2.747 GB, free: 55.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/7.332, allocations: 0.894 MB / 2.748 GB, free: 54.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/7.334, allocations: 1.374 MB / 2.749 GB, free: 52.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/7.337, allocations: 0.9881 MB / 2.75 GB, free: 51.79 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/7.337, allocations: 3.984 kB / 2.75 GB, free: 51.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008156/7.345, allocations: 2.997 MB / 2.753 GB, free: 48.78 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007447/7.346, allocations: 3.74 MB / 2.757 GB, free: 44.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/7.346, allocations: 8 kB / 2.757 GB, free: 44.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/7.351, allocations: 1.373 MB / 2.758 GB, free: 43.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/7.353, allocations: 331.5 kB / 2.759 GB, free: 43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/7.365, allocations: 6.212 MB / 2.765 GB, free: 36.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/7.369, allocations: 395.3 kB / 2.765 GB, free: 36.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/7.37, allocations: 71.95 kB / 2.765 GB, free: 36.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/7.37, allocations: 9.969 kB / 2.765 GB, free: 36.17 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005333/7.375, allocations: 2.328 MB / 2.768 GB, free: 33.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/7.375, allocations: 8 kB / 2.768 GB, free: 33.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/7.378, allocations: 0.6569 MB / 2.768 GB, free: 33.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/7.379, allocations: 391.5 kB / 2.769 GB, free: 32.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/7.392, allocations: 6.873 MB / 2.775 GB, free: 25.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/7.396, allocations: 343.3 kB / 2.776 GB, free: 25.35 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/7.396, allocations: 71.95 kB / 2.776 GB, free: 25.28 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.002395/7.399, allocations: 0.6168 MB / 2.776 GB, free: 24.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/7.4, allocations: 237.1 kB / 2.776 GB, free: 24.42 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005971/7.406, allocations: 2.503 MB / 2.779 GB, free: 21.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/7.406, allocations: 15.98 kB / 2.779 GB, free: 21.89 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/7.406, allocations: 7.891 kB / 2.779 GB, free: 21.89 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004345/7.41, allocations: 2.342 MB / 2.781 GB, free: 19.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/7.421, allocations: 4.866 MB / 2.786 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/7.421, allocations: 8.047 kB / 2.786 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/7.422, allocations: 267.7 kB / 2.786 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/7.425, allocations: 0.8036 MB / 2.787 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/7.425, allocations: 39.97 kB / 2.787 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/7.427, allocations: 1.469 MB / 2.788 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/7.427, allocations: 0 / 2.788 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/7.435, allocations: 3.599 MB / 2.792 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/7.437, allocations: 0.5096 MB / 2.793 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/7.438, allocations: 36.05 kB / 2.793 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/7.44, allocations: 307.4 kB / 2.793 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/7.44, allocations: 84.77 kB / 2.793 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/7.44, allocations: 47.95 kB / 2.793 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002613/7.443, allocations: 1.438 MB / 2.794 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.3e-07/7.443, allocations: 3.172 kB / 2.794 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006369/7.449, allocations: 1.297 MB / 2.796 GB, free: 4.566 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/7.459, allocations: 5.357 MB / 2.801 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00999/7.469, allocations: 3.8 MB / 2.805 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/7.469, allocations: 3.938 kB / 2.805 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00263/7.472, allocations: 0.991 MB / 2.806 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/7.478, allocations: 1.125 MB / 2.807 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/7.501, allocations: 13.76 MB / 2.82 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/7.503, allocations: 1.676 MB / 2.822 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003219/7.506, allocations: 479.8 kB / 2.822 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/7.508, allocations: 1.042 MB / 2.823 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of SimCode: time 1.132e-06/7.508, allocations: 4 kB / 2.823 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7418/8.25, allocations: 85.39 MB / 2.907 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/8.25, allocations: 290.3 kB / 2.907 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/13.36, allocations: 8.406 kB / 2.907 GB, free: 121.1 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1)