Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 185.1 kB / 325.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.575/2.575, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009826/0.0009821, allocations: 98.73 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 9 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1462/0.3545, allocations: 106.7 MB / 1.003 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.07473/0.4293, allocations: 24.65 MB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.4357, allocations: 115.1 kB / 1.027 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00709/0.4429, allocations: 0.8497 MB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01884/0.4618, allocations: 2.752 MB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01301/0.4749, allocations: 2.173 MB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01703/0.492, allocations: 8.13 MB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006217/0.4982, allocations: 2.206 MB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008295/0.5066, allocations: 2.383 MB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005497/0.5121, allocations: 1.925 MB / 1.047 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.5132, allocations: 100 kB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005558/0.5188, allocations: 1.033 MB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.5204, allocations: 477.7 kB / 1.049 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.5224, allocations: 0.6251 MB / 1.05 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.5308, allocations: 3.861 MB / 1.053 GB, free: 3.004 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.5309, allocations: 3.984 kB / 1.053 GB, free: 3 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.913e-06/0.5309, allocations: 4 kB / 1.053 GB, free: 2.996 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001974/0.5311, allocations: 0 / 1.053 GB, free: 2.996 MB / 0.698 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.01017/0.5413, allocations: 2.862 MB / 1.056 GB, free: 72 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5414, allocations: 11.97 kB / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6442/1.186, allocations: 1.096 MB / 1.057 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00643/1.192, allocations: 2.367 MB / 1.06 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.192, allocations: 145.4 kB / 1.06 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005129/1.193, allocations: 201.4 kB / 1.06 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009374/1.202, allocations: 2.502 MB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.951e-05/1.202, allocations: 6.609 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/1.203, allocations: 80.81 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-05/1.203, allocations: 47.86 kB / 1.062 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/1.216, allocations: 2.372 MB / 1.065 GB, free: 150.5 MB / 0.698 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.03763/1.254, allocations: 12.11 MB / 1.077 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/1.271, allocations: 2.1 MB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005722/1.277, allocations: 0.9365 MB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/1.279, allocations: 1.378 MB / 1.081 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/1.279, allocations: 47.97 kB / 1.081 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002874/1.282, allocations: 220.9 kB / 1.081 GB, free: 140.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 8.997e-06/1.282, allocations: 7.422 kB / 1.081 GB, free: 140.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06527/1.347, allocations: 8.942 MB / 1.09 GB, free: 135.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/1.347, allocations: 171 kB / 1.09 GB, free: 135.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004354/1.352, allocations: 2.058 MB / 1.092 GB, free: 134.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003868/1.352, allocations: 53.45 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.353, allocations: 1.193 MB / 1.093 GB, free: 133.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/1.354, allocations: 385.8 kB / 1.094 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.354, allocations: 27.97 kB / 1.094 GB, free: 133.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.354, allocations: 357.8 kB / 1.094 GB, free: 132.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/1.358, allocations: 0.8992 MB / 1.095 GB, free: 132.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004477/1.363, allocations: 1.302 MB / 1.096 GB, free: 131.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/1.367, allocations: 0.9856 MB / 1.097 GB, free: 130.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.367, allocations: 5.312 kB / 1.097 GB, free: 130.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01343/1.38, allocations: 3.004 MB / 1.1 GB, free: 127.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/1.381, allocations: 376 kB / 1.1 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.381, allocations: 12 kB / 1.1 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.391, allocations: 1.398 MB / 1.102 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.393, allocations: 331.5 kB / 1.102 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/1.416, allocations: 6.074 MB / 1.108 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.421, allocations: 383.3 kB / 1.108 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/1.422, allocations: 71.95 kB / 1.108 GB, free: 118.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.422, allocations: 5.094 kB / 1.108 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009586/1.431, allocations: 2.36 MB / 1.111 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.431, allocations: 12 kB / 1.111 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00476/1.436, allocations: 0.6886 MB / 1.111 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/1.439, allocations: 395.5 kB / 1.112 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/1.459, allocations: 6.769 MB / 1.118 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.464, allocations: 335.4 kB / 1.119 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/1.464, allocations: 75.91 kB / 1.119 GB, free: 107.9 MB / 0.698 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.001635/1.466, allocations: 0.6101 MB / 1.119 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/1.467, allocations: 233.1 kB / 1.12 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009913/1.476, allocations: 2.507 MB / 1.122 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/1.477, allocations: 23.92 kB / 1.122 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.477, allocations: 3.984 kB / 1.122 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008294/1.485, allocations: 2.337 MB / 1.124 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.503, allocations: 5.103 MB / 1.129 GB, free: 96.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.503, allocations: 4 kB / 1.129 GB, free: 96.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.505, allocations: 263.8 kB / 1.13 GB, free: 96.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00516/1.51, allocations: 0.8037 MB / 1.13 GB, free: 95.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/1.51, allocations: 27.98 kB / 1.13 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/1.514, allocations: 1.481 MB / 1.132 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.514, allocations: 4 kB / 1.132 GB, free: 94.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.528, allocations: 3.523 MB / 1.135 GB, free: 90.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.53, allocations: 0.5251 MB / 1.136 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.53, allocations: 28 kB / 1.136 GB, free: 90.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/1.534, allocations: 299.6 kB / 1.136 GB, free: 89.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/1.534, allocations: 80.83 kB / 1.136 GB, free: 89.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.535, allocations: 47.95 kB / 1.136 GB, free: 89.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003149/1.538, allocations: 1.391 MB / 1.138 GB, free: 88.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.538, allocations: 0 / 1.138 GB, free: 88.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005301/1.543, allocations: 1.141 MB / 1.139 GB, free: 87.32 MB / 0.698 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.001283/1.544, allocations: 0.5179 MB / 1.139 GB, free: 86.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01799/1.562, allocations: 3.82 MB / 1.143 GB, free: 83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.563, allocations: 0 / 1.143 GB, free: 83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005942/1.568, allocations: 0.9874 MB / 1.144 GB, free: 82.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01252/1.581, allocations: 1.151 MB / 1.145 GB, free: 80.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.606, allocations: 5.762 MB / 1.151 GB, free: 75.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/1.608, allocations: 1.629 MB / 1.152 GB, free: 73.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005037/1.613, allocations: 481.5 kB / 1.153 GB, free: 72.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.614, allocations: 171.4 kB / 1.153 GB, free: 72.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.614, allocations: 0 / 1.153 GB, free: 72.79 MB / 0.698 GB Notification: Performance of Templates: time 0.1846/1.799, allocations: 55.06 MB / 1.207 GB, free: 18.15 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)