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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008185, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00524/0.00524, allocations: 172.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000572/0.000572, allocations: 20.2 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2674, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1016/0.369, allocations: 112.9 MB / 0.8981 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4688/0.8379, allocations: 26.26 MB / 0.9238 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004953/0.8429, allocations: 116.6 kB / 0.9239 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.8472, allocations: 1.04 MB / 0.9249 GB, free: 25.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.8579, allocations: 3.302 MB / 0.9281 GB, free: 24.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007367/0.8653, allocations: 2.979 MB / 0.931 GB, free: 24.8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.8788, allocations: 9.4 MB / 0.9402 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004963/0.8838, allocations: 2.286 MB / 0.9424 GB, free: 24.46 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/0.8905, allocations: 2.554 MB / 0.9449 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.8949, allocations: 2.056 MB / 0.947 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.8954, allocations: 103.7 kB / 0.947 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.8999, allocations: 1.377 MB / 0.9484 GB, free: 23.76 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007736/0.9007, allocations: 496.2 kB / 0.9489 GB, free: 23.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003118/0.9038, allocations: 1.437 MB / 0.9503 GB, free: 23.13 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.9108, allocations: 4.849 MB / 0.955 GB, free: 22.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9108, allocations: 4 kB / 0.955 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9108, allocations: 5.344 kB / 0.955 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001178/0.9109, allocations: 0 / 0.955 GB, free: 22.49 MB / 0.7169 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.005784/0.9167, allocations: 2.838 MB / 0.9578 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9168, allocations: 9.406 kB / 0.9578 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.9224, allocations: 1.101 MB / 0.9589 GB, free: 20.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/0.9268, allocations: 2.457 MB / 0.9613 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.9269, allocations: 145 kB / 0.9614 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.9272, allocations: 194.8 kB / 0.9616 GB, free: 19.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005291/0.9325, allocations: 2.544 MB / 0.9641 GB, free: 18.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.9326, allocations: 7.844 kB / 0.9641 GB, free: 18.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.9328, allocations: 79.94 kB / 0.9642 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.9328, allocations: 47.75 kB / 0.9642 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/0.9385, allocations: 2.381 MB / 0.9665 GB, free: 17.02 MB / 0.7169 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.01483/0.9533, allocations: 12.13 MB / 0.9784 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008039/0.9614, allocations: 2.344 MB / 0.9807 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.9637, allocations: 0.9466 MB / 0.9816 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009701/0.9647, allocations: 1.378 MB / 0.9829 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.9647, allocations: 50.16 kB / 0.983 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001813/0.9665, allocations: 233.9 kB / 0.9832 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 6.753e-06/0.9666, allocations: 0 / 0.9832 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03715/1.004, allocations: 9.218 MB / 0.9922 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.004, allocations: 166.9 kB / 0.9924 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/1.008, allocations: 2.085 MB / 0.9944 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003117/1.009, allocations: 50.39 kB / 0.9945 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.01, allocations: 1.198 MB / 0.9956 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004984/1.01, allocations: 389.5 kB / 0.996 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/1.011, allocations: 120.2 kB / 0.9961 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.011, allocations: 305.1 kB / 0.9964 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/1.013, allocations: 0.914 MB / 0.9973 GB, free: 11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.017, allocations: 1.326 MB / 0.9986 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005341/1.022, allocations: 2.064 MB / 1.001 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.022, allocations: 0 / 1.001 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009521/1.031, allocations: 3.053 MB / 1.004 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003494/1.032, allocations: 383.2 kB / 1.004 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/1.032, allocations: 11.98 kB / 1.004 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007268/1.039, allocations: 1.612 MB / 1.006 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/1.041, allocations: 327.5 kB / 1.006 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.055, allocations: 6.101 MB / 1.012 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.059, allocations: 375.4 kB / 1.012 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/1.06, allocations: 75.95 kB / 1.012 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.06, allocations: 4 kB / 1.012 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006895/1.066, allocations: 2.378 MB / 1.015 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.066, allocations: 11.94 kB / 1.015 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/1.069, allocations: 0.6814 MB / 1.015 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.071, allocations: 399.4 kB / 1.016 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.085, allocations: 6.784 MB / 1.022 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/1.088, allocations: 327.5 kB / 1.023 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/1.089, allocations: 79.95 kB / 1.023 GB, free: 224 kB / 0.7481 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.00176/1.09, allocations: 0.6123 MB / 1.023 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006828/1.091, allocations: 233.1 kB / 1.023 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007118/1.098, allocations: 2.523 MB / 1.026 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.098, allocations: 16.11 kB / 1.026 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.098, allocations: 3.938 kB / 1.026 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005565/1.104, allocations: 2.36 MB / 1.028 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.119, allocations: 5.14 MB / 1.033 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.119, allocations: 7.938 kB / 1.033 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.12, allocations: 255.8 kB / 1.034 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/1.124, allocations: 0.8373 MB / 1.034 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.124, allocations: 39.97 kB / 1.034 GB, free: 4.082 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/1.127, allocations: 1.481 MB / 1.036 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.127, allocations: 0 / 1.036 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009309/1.136, allocations: 3.56 MB / 1.039 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.137, allocations: 0.5329 MB / 1.04 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/1.138, allocations: 23.94 kB / 1.04 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.141, allocations: 307.6 kB / 1.04 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.141, allocations: 68.89 kB / 1.04 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.141, allocations: 51.95 kB / 1.04 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002986/1.144, allocations: 1.415 MB / 1.042 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.633e-06/1.144, allocations: 0 / 1.042 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005123/1.149, allocations: 1.152 MB / 1.043 GB, free: 11.42 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/1.151, allocations: 0.5297 MB / 1.043 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00981/1.161, allocations: 3.85 MB / 1.047 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.161, allocations: 0 / 1.047 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/1.163, allocations: 1.004 MB / 1.048 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006957/1.17, allocations: 1.158 MB / 1.049 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.184, allocations: 5.94 MB / 1.055 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.186, allocations: 1.626 MB / 1.057 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002758/1.189, allocations: 486.2 kB / 1.057 GB, free: 12.85 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/1.189, allocations: 171.4 kB / 1.057 GB, free: 12.68 MB / 0.795 GB Notification: Performance of SimCode: time 1.133e-06/1.189, allocations: 3.938 kB / 1.057 GB, free: 12.68 MB / 0.795 GB Notification: Performance of Templates: time 0.08488/1.274, allocations: 56.85 MB / 1.113 GB, free: 4.582 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.pipe 2>&1) Environment - environmentSimulation: