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.724/1.724, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001176/0.001176, allocations: 178.6 kB / 371.6 MB, free: 3.395 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.757/1.757, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001142/0.001142, allocations: 92.06 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-05/5.794e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3491, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.445/2.794, allocations: 447.9 MB / 1.417 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/2.795, allocations: 96.78 kB / 1.417 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.343/8.138, allocations: 1.277 GB / 2.695 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/8.138, allocations: 0 / 2.695 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006414/8.139, allocations: 75.38 kB / 2.695 GB, free: 109.3 MB / 0.9792 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.01073/8.149, allocations: 2.74 MB / 2.698 GB, free: 108 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/8.149, allocations: 11.62 kB / 2.698 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/8.151, allocations: 263 kB / 2.698 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006325/8.157, allocations: 1.001 MB / 2.699 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/8.167, allocations: 2.922 MB / 2.702 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/8.168, allocations: 151.1 kB / 2.702 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/8.169, allocations: 205.7 kB / 2.702 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007231/8.176, allocations: 2.126 MB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/8.176, allocations: 11.06 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006421/8.177, allocations: 79.31 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/8.177, allocations: 49.84 kB / 2.704 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/8.182, allocations: 1.678 MB / 2.706 GB, free: 106.9 MB / 0.9792 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.02307/8.205, allocations: 12.13 MB / 2.718 GB, free: 99.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/8.209, allocations: 1.43 MB / 2.719 GB, free: 99.35 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/8.21, allocations: 0.659 MB / 2.72 GB, free: 99.06 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/8.211, allocations: 1.366 MB / 2.721 GB, free: 97.54 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/8.211, allocations: 46.59 kB / 2.721 GB, free: 97.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002432/8.214, allocations: 277.8 kB / 2.721 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=105): time 1.115e-05/8.214, allocations: 0 / 2.721 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=111): time 0.009909/8.223, allocations: 3.342 MB / 2.725 GB, free: 95.65 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/8.224, allocations: 165.6 kB / 2.725 GB, free: 95.46 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/8.228, allocations: 1.795 MB / 2.727 GB, free: 94.71 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004326/8.229, allocations: 50.98 kB / 2.727 GB, free: 94.67 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/8.23, allocations: 1.201 MB / 2.728 GB, free: 93.73 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/8.231, allocations: 381.1 kB / 2.728 GB, free: 93.44 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/8.231, allocations: 29.44 kB / 2.728 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001495/8.231, allocations: 363 kB / 2.729 GB, free: 93.09 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/8.232, allocations: 0.5627 MB / 2.729 GB, free: 92.84 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/8.234, allocations: 1.04 MB / 2.73 GB, free: 92.01 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/8.236, allocations: 0.6593 MB / 2.731 GB, free: 91.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/8.236, allocations: 3.406 kB / 2.731 GB, free: 91.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008415/8.244, allocations: 2.462 MB / 2.733 GB, free: 90.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001741/8.246, allocations: 3.74 MB / 2.737 GB, free: 86.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/8.246, allocations: 10.81 kB / 2.737 GB, free: 86.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005014/8.251, allocations: 1.129 MB / 2.738 GB, free: 86.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/8.253, allocations: 326.7 kB / 2.738 GB, free: 86.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/8.263, allocations: 5.295 MB / 2.743 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/8.267, allocations: 405.9 kB / 2.744 GB, free: 83.12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005772/8.268, allocations: 76.39 kB / 2.744 GB, free: 83.11 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/8.268, allocations: 3.969 kB / 2.744 GB, free: 83.11 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00742/8.276, allocations: 2.104 MB / 2.746 GB, free: 82.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/8.276, allocations: 7.406 kB / 2.746 GB, free: 82.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/8.278, allocations: 0.595 MB / 2.747 GB, free: 82.22 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/8.28, allocations: 388.8 kB / 2.747 GB, free: 82.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/8.291, allocations: 6.206 MB / 2.753 GB, free: 77.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/8.295, allocations: 355.8 kB / 2.753 GB, free: 77.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005596/8.296, allocations: 73.19 kB / 2.753 GB, free: 77.86 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 (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0009176/8.297, allocations: 182.9 kB / 2.754 GB, free: 77.69 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/8.298, allocations: 231.5 kB / 2.754 GB, free: 77.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/8.303, allocations: 1.892 MB / 2.756 GB, free: 76.76 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/8.303, allocations: 19.5 kB / 2.756 GB, free: 76.76 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/8.303, allocations: 0 / 2.756 GB, free: 76.76 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002547/8.306, allocations: 1.701 MB / 2.757 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/8.316, allocations: 4.269 MB / 2.761 GB, free: 73.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/8.316, allocations: 3.5 kB / 2.761 GB, free: 73.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/8.318, allocations: 257.7 kB / 2.762 GB, free: 73.74 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/8.32, allocations: 0.646 MB / 2.762 GB, free: 73.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/8.32, allocations: 34.92 kB / 2.762 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/8.322, allocations: 1.245 MB / 2.764 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/8.322, allocations: 6.875 kB / 2.764 GB, free: 72.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/8.329, allocations: 2.908 MB / 2.766 GB, free: 71.33 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/8.331, allocations: 0.5228 MB / 2.767 GB, free: 70.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/8.332, allocations: 23.5 kB / 2.767 GB, free: 70.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/8.335, allocations: 307.2 kB / 2.767 GB, free: 70.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/8.335, allocations: 79.03 kB / 2.767 GB, free: 70.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/8.335, allocations: 44.42 kB / 2.767 GB, free: 70.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003547/8.339, allocations: 1.37 MB / 2.769 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.81e-07/8.339, allocations: 0 / 2.769 GB, free: 70.29 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007952/8.347, allocations: 1.277 MB / 2.77 GB, free: 70.1 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 (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.01016/8.357, allocations: 4.673 MB / 2.775 GB, free: 67.64 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006694/8.364, allocations: 2.978 MB / 2.777 GB, free: 66.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/8.364, allocations: 0.75 kB / 2.777 GB, free: 66.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/8.365, allocations: 0.7097 MB / 2.778 GB, free: 65.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/8.373, allocations: 1.128 MB / 2.779 GB, free: 65.66 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/8.389, allocations: 4.199 MB / 2.783 GB, free: 64.01 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/8.391, allocations: 1.684 MB / 2.785 GB, free: 63.21 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004877/8.396, allocations: 0.5914 MB / 2.786 GB, free: 63.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/8.398, allocations: 0.9978 MB / 2.787 GB, free: 62.28 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/8.398, allocations: 0 / 2.787 GB, free: 62.28 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.039/9.437, allocations: 91.38 MB / 2.876 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/9.438, allocations: 272.7 kB / 2.876 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.642/15.08, allocations: 3 kB / 2.876 GB, free: 118.4 MB / 0.9948 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)