Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.867/1.867, allocations: 287.5 MB / 302.6 MB, free: 8.199 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.001088/0.001088, allocations: 185.6 kB / 371.2 MB, free: 10.73 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.476/1.476, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007304/0.0007304, allocations: 92.59 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 11.72 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.5202/0.7099, allocations: 106.7 MB / 1.083 GB, free: 22.58 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03468/0.7447, allocations: 24.69 MB / 1.107 GB, free: 22.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005612/0.7503, allocations: 115.3 kB / 1.107 GB, free: 22.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.7545, allocations: 0.8514 MB / 1.108 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.7646, allocations: 2.756 MB / 1.111 GB, free: 21.53 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00883/0.7735, allocations: 2.199 MB / 1.113 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01303/0.7865, allocations: 8.158 MB / 1.121 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.7906, allocations: 2.266 MB / 1.123 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/0.797, allocations: 2.381 MB / 1.125 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004451/0.8015, allocations: 1.926 MB / 1.127 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000666/0.8022, allocations: 103 kB / 1.127 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.8064, allocations: 1.037 MB / 1.128 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.807, allocations: 474.6 kB / 1.129 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.8086, allocations: 0.6239 MB / 1.129 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.8137, allocations: 3.89 MB / 1.133 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8137, allocations: 0 / 1.133 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8137, allocations: 1.094 kB / 1.133 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.776e-05/0.8138, allocations: 3.938 kB / 1.133 GB, free: 13.16 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.005847/0.8197, allocations: 2.838 MB / 1.136 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8197, allocations: 9.625 kB / 1.136 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.8252, allocations: 1.099 MB / 1.137 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/0.8297, allocations: 2.465 MB / 1.139 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.8298, allocations: 150.2 kB / 1.14 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.8302, allocations: 191.7 kB / 1.14 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.8355, allocations: 2.511 MB / 1.142 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.8356, allocations: 2.188 kB / 1.142 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.8357, allocations: 78 kB / 1.142 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.8358, allocations: 53.56 kB / 1.142 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/0.8416, allocations: 2.375 MB / 1.145 GB, free: 5.895 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.01694/0.8586, allocations: 12.14 MB / 1.157 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/0.8651, allocations: 2.112 MB / 1.159 GB, free: 10.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.8673, allocations: 0.9401 MB / 1.159 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.8686, allocations: 1.38 MB / 1.161 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.8686, allocations: 54.16 kB / 1.161 GB, free: 8.266 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001514/0.8702, allocations: 236.9 kB / 1.161 GB, free: 8.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 3.577e-06/0.8702, allocations: 2.188 kB / 1.161 GB, free: 8.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.0347/0.9049, allocations: 9.2 MB / 1.17 GB, free: 3.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.905, allocations: 170.1 kB / 1.17 GB, free: 3.484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.9082, allocations: 2.059 MB / 1.172 GB, free: 1.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.9084, allocations: 53.7 kB / 1.172 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.9094, allocations: 1.198 MB / 1.173 GB, free: 216 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/0.9098, allocations: 383.1 kB / 1.174 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.91, allocations: 28 kB / 1.174 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9101, allocations: 365.9 kB / 1.174 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.9125, allocations: 0.894 MB / 1.175 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.9152, allocations: 1.312 MB / 1.176 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004911/0.9202, allocations: 2.031 MB / 1.178 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.9202, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008502/0.9287, allocations: 3.006 MB / 1.181 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.929, allocations: 379.8 kB / 1.182 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.929, allocations: 9.531 kB / 1.182 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/0.9351, allocations: 1.433 MB / 1.183 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.9367, allocations: 335.5 kB / 1.183 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.9505, allocations: 6.102 MB / 1.189 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/0.9543, allocations: 379.4 kB / 1.19 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.9546, allocations: 71.95 kB / 1.19 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.9547, allocations: 4 kB / 1.19 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006304/0.961, allocations: 2.366 MB / 1.192 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.961, allocations: 8 kB / 1.192 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.9637, allocations: 0.6753 MB / 1.193 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.9654, allocations: 395.4 kB / 1.193 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.9784, allocations: 6.769 MB / 1.2 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/0.9816, allocations: 331.4 kB / 1.2 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.9819, allocations: 75.95 kB / 1.2 GB, free: 4.059 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * 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.001471/0.9833, allocations: 0.614 MB / 1.201 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/0.984, allocations: 233.1 kB / 1.201 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0066/0.9906, allocations: 2.51 MB / 1.203 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.9906, allocations: 12 kB / 1.203 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9906, allocations: 3.984 kB / 1.203 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005265/0.9959, allocations: 2.349 MB / 1.206 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.008, allocations: 5.134 MB / 1.211 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.008, allocations: 3.938 kB / 1.211 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.009, allocations: 263.8 kB / 1.211 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/1.013, allocations: 0.8163 MB / 1.212 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.013, allocations: 35.97 kB / 1.212 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/1.015, allocations: 1.489 MB / 1.213 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.015, allocations: 3.938 kB / 1.213 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008669/1.024, allocations: 3.546 MB / 1.217 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.025, allocations: 0.5251 MB / 1.217 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006685/1.026, allocations: 28.03 kB / 1.217 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/1.029, allocations: 303.6 kB / 1.218 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.029, allocations: 80.88 kB / 1.218 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.029, allocations: 51.95 kB / 1.218 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002777/1.032, allocations: 1.391 MB / 1.219 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/1.032, allocations: 0 / 1.219 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005205/1.037, allocations: 1.152 MB / 1.22 GB, free: 15.34 MB / 0.7605 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 (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.001282/1.038, allocations: 0.4956 MB / 1.221 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.051, allocations: 3.829 MB / 1.224 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.051, allocations: 0 / 1.224 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004085/1.055, allocations: 0.9922 MB / 1.225 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/1.065, allocations: 1.14 MB / 1.226 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.085, allocations: 5.777 MB / 1.232 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/1.087, allocations: 1.626 MB / 1.234 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004597/1.092, allocations: 482.8 kB / 1.234 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/1.093, allocations: 175.4 kB / 1.234 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of SimCode: time 1.242e-06/1.093, allocations: 4 kB / 1.234 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of Templates: time 0.1358/1.229, allocations: 55.36 MB / 1.288 GB, free: 9.879 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)