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/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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005483/0.005483, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.397/1.397, 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.743/1.743, 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.0005669/0.0005668, allocations: 14.83 kB / 0.6743 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2528, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1001/0.3529, allocations: 113 MB / 0.8982 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5487/0.9016, allocations: 26.27 MB / 0.9239 GB, free: 25.05 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00583/0.9075, allocations: 113.6 kB / 0.924 GB, free: 25.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004598/0.9121, allocations: 1.039 MB / 0.925 GB, free: 25.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.9249, allocations: 3.31 MB / 0.9282 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008952/0.9339, allocations: 2.971 MB / 0.9311 GB, free: 24.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01714/0.951, allocations: 9.394 MB / 0.9403 GB, free: 24.81 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/0.9561, allocations: 2.289 MB / 0.9425 GB, free: 24.49 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008354/0.9645, allocations: 2.555 MB / 0.945 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/0.9704, allocations: 2.046 MB / 0.947 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.9715, allocations: 103 kB / 0.9471 GB, free: 23.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006167/0.9777, allocations: 1.382 MB / 0.9485 GB, free: 23.76 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.9787, allocations: 0.4916 MB / 0.9489 GB, free: 23.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.982, allocations: 1.434 MB / 0.9503 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008507/0.9906, allocations: 4.852 MB / 0.9551 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.895e-05/0.9906, allocations: 0 / 0.9551 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9906, allocations: 0 / 0.9551 GB, free: 22.49 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000124/0.9908, allocations: 0 / 0.9551 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.006493/0.9973, allocations: 2.839 MB / 0.9578 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9973, allocations: 13.12 kB / 0.9579 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00577/1.003, allocations: 1.099 MB / 0.9589 GB, free: 20.74 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/1.008, allocations: 2.463 MB / 0.9613 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/1.008, allocations: 144.5 kB / 0.9615 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/1.009, allocations: 192.4 kB / 0.9617 GB, free: 19.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/1.014, allocations: 2.535 MB / 0.9641 GB, free: 18.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.014, allocations: 14.59 kB / 0.9642 GB, free: 18.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/1.014, allocations: 80.59 kB / 0.9642 GB, free: 18.14 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/1.014, allocations: 47.88 kB / 0.9643 GB, free: 18.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005704/1.02, allocations: 2.388 MB / 0.9666 GB, free: 17 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.01566/1.036, allocations: 12.13 MB / 0.9785 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00706/1.043, allocations: 2.111 MB / 0.9805 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/1.045, allocations: 0.9421 MB / 0.9814 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.046, allocations: 1.38 MB / 0.9828 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.046, allocations: 46.91 kB / 0.9828 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001876/1.048, allocations: 230.8 kB / 0.983 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 5.781e-06/1.048, allocations: 4 kB / 0.983 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03716/1.085, allocations: 9.222 MB / 0.9921 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/1.085, allocations: 167.4 kB / 0.9922 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/1.09, allocations: 2.085 MB / 0.9943 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.09, allocations: 48.77 kB / 0.9943 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/1.091, allocations: 1.195 MB / 0.9955 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/1.091, allocations: 383.7 kB / 0.9958 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.092, allocations: 131.2 kB / 0.996 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/1.092, allocations: 301.1 kB / 0.9962 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/1.094, allocations: 0.9149 MB / 0.9971 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/1.097, allocations: 1.321 MB / 0.9984 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005095/1.102, allocations: 2.068 MB / 1 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.102, allocations: 4 kB / 1 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009165/1.112, allocations: 3.057 MB / 1.003 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002903/1.112, allocations: 382.9 kB / 1.004 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/1.112, allocations: 11.94 kB / 1.004 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007065/1.119, allocations: 1.609 MB / 1.005 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.121, allocations: 331.5 kB / 1.006 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/1.135, allocations: 6.088 MB / 1.012 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/1.138, allocations: 379.4 kB / 1.012 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/1.139, allocations: 75.95 kB / 1.012 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.139, allocations: 6.812 kB / 1.012 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006801/1.146, allocations: 2.37 MB / 1.014 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/1.146, allocations: 8 kB / 1.014 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/1.149, allocations: 0.6853 MB / 1.015 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.15, allocations: 391.4 kB / 1.015 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.165, allocations: 6.787 MB / 1.022 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.168, allocations: 323.5 kB / 1.022 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/1.169, allocations: 75.95 kB / 1.022 GB, free: 428 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.001988/1.171, allocations: 0.6165 MB / 1.023 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008985/1.172, allocations: 233.1 kB / 1.023 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/1.179, allocations: 2.536 MB / 1.026 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.179, allocations: 19.97 kB / 1.026 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.179, allocations: 3.938 kB / 1.026 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005459/1.184, allocations: 2.353 MB / 1.028 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/1.198, allocations: 5.144 MB / 1.033 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.198, allocations: 4 kB / 1.033 GB, free: 5.398 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.199, allocations: 259.8 kB / 1.033 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.203, allocations: 0.8358 MB / 1.034 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.203, allocations: 40.08 kB / 1.034 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/1.206, allocations: 1.488 MB / 1.036 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.206, allocations: 4.047 kB / 1.036 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00929/1.215, allocations: 3.558 MB / 1.039 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.217, allocations: 0.5251 MB / 1.04 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007788/1.218, allocations: 27.94 kB / 1.04 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/1.22, allocations: 303.6 kB / 1.04 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.221, allocations: 76.89 kB / 1.04 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.221, allocations: 47.95 kB / 1.04 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003088/1.224, allocations: 1.411 MB / 1.041 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.8e-07/1.224, allocations: 0 / 1.041 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0056/1.229, allocations: 1.152 MB / 1.043 GB, free: 11.61 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.001496/1.231, allocations: 0.5309 MB / 1.043 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009575/1.241, allocations: 3.846 MB / 1.047 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.241, allocations: 0 / 1.047 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/1.243, allocations: 1.004 MB / 1.048 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/1.25, allocations: 1.153 MB / 1.049 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.266, allocations: 5.945 MB / 1.055 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/1.268, allocations: 1.622 MB / 1.056 GB, free: 13.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002898/1.271, allocations: 485.2 kB / 1.057 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/1.271, allocations: 171.4 kB / 1.057 GB, free: 12.88 MB / 0.795 GB Notification: Performance of SimCode: time 1.593e-06/1.271, allocations: 0 / 1.057 GB, free: 12.88 MB / 0.795 GB Notification: Performance of Templates: time 0.08867/1.36, allocations: 56.86 MB / 1.113 GB, free: 4.777 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1) Environment - environmentSimulation: