Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009502/0.009502, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7508/0.7508, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 406.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 94.42 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4803, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9/1.38, allocations: 385.4 MB / 1.026 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.381, allocations: 102.4 kB / 1.026 GB, free: 4.109 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.powerData[1]. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Tables.mo:886:7-888:82:writable] Warning: Failed to deduce dimensions of table due to unknown dimensions of modifier heatPump.heatPumpData.copData[1]. Notification: Performance of FrontEnd - DAE generated: time 4.126/5.506, allocations: 0.9936 GB / 2.019 GB, free: 65.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/5.506, allocations: 0 / 2.019 GB, free: 65.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004412/5.507, allocations: 83.97 kB / 2.02 GB, free: 65.15 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01154/5.518, allocations: 3.814 MB / 2.023 GB, free: 61.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/5.519, allocations: 12.03 kB / 2.023 GB, free: 61.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/5.523, allocations: 0.6874 MB / 2.024 GB, free: 60.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/5.533, allocations: 3.857 MB / 2.028 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/5.533, allocations: 262.9 kB / 2.028 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/5.534, allocations: 199.9 kB / 2.028 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/5.537, allocations: 2.077 MB / 2.03 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/5.537, allocations: 7.938 kB / 2.03 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/5.538, allocations: 76 kB / 2.03 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/5.538, allocations: 44 kB / 2.03 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/5.541, allocations: 1.556 MB / 2.032 GB, free: 52.32 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.01326/5.554, allocations: 8.555 MB / 2.04 GB, free: 43.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/5.556, allocations: 1.085 MB / 2.041 GB, free: 42.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006377/5.562, allocations: 4.394 MB / 2.046 GB, free: 37.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/5.562, allocations: 39.56 kB / 2.046 GB, free: 37.41 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001136/5.563, allocations: 114.6 kB / 2.046 GB, free: 37.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.326e-06/5.563, allocations: 0 / 2.046 GB, free: 37.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002917/5.566, allocations: 1.553 MB / 2.047 GB, free: 35.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/5.566, allocations: 192.9 kB / 2.047 GB, free: 35.46 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:28:3-29:45:writable] Warning: Parameter heatPump.heatPumpData.P_the_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:26:3-27:70:writable] Warning: Parameter heatPump.heatPumpData.G has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:23:3-24:63:writable] Warning: Parameter heatPump.heatPumpData.dp2_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:21:3-22:64:writable] Warning: Parameter heatPump.heatPumpData.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:18:3-19:83:writable] Warning: Parameter heatPump.heatPumpData.m2_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:16:3-17:84:writable] Warning: Parameter heatPump.heatPumpData.m1_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:13:3-14:37:writable] Warning: Parameter heatPump.heatPumpData.m2 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:10:3-11:38:writable] Warning: Parameter heatPump.heatPumpData.m1 has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:9:3-9:48:writable] Warning: Parameter heatPump.heatPumpData.copData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/HeatPumps/BaseClasses/HeatPumpData.mo:8:3-8:71:writable] Warning: Parameter heatPump.heatPumpData.powerData[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/5.57, allocations: 2.383 MB / 2.05 GB, free: 33.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/5.57, allocations: 61.58 kB / 2.05 GB, free: 33.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/5.571, allocations: 1.443 MB / 2.051 GB, free: 31.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/5.571, allocations: 299.9 kB / 2.051 GB, free: 31.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/5.572, allocations: 28 kB / 2.052 GB, free: 31.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001046/5.572, allocations: 365.9 kB / 2.052 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/5.572, allocations: 447.8 kB / 2.052 GB, free: 30.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/5.574, allocations: 1.188 MB / 2.053 GB, free: 28.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/5.574, allocations: 0.607 MB / 2.054 GB, free: 28.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/5.574, allocations: 8 kB / 2.054 GB, free: 28.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003313/5.578, allocations: 1.828 MB / 2.056 GB, free: 26.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001674/5.579, allocations: 8.413 MB / 2.064 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/5.579, allocations: 24 kB / 2.064 GB, free: 17.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/5.58, allocations: 113.6 kB / 2.064 GB, free: 17.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/5.581, allocations: 359.4 kB / 2.065 GB, free: 16.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006299/5.582, allocations: 1.187 MB / 2.066 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/5.585, allocations: 247.5 kB / 2.066 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/5.585, allocations: 91.97 kB / 2.066 GB, free: 15.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/5.585, allocations: 4 kB / 2.066 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002413/5.587, allocations: 1.537 MB / 2.068 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/5.587, allocations: 20 kB / 2.068 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/5.588, allocations: 120 kB / 2.068 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/5.589, allocations: 363.7 kB / 2.068 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/5.589, allocations: 1.175 MB / 2.069 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/5.592, allocations: 195.5 kB / 2.069 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/5.592, allocations: 91.97 kB / 2.069 GB, free: 11.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * Array equations: 2 * 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 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001743/5.594, allocations: 0.6768 MB / 2.07 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007015/5.595, allocations: 280.5 kB / 2.07 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/5.597, allocations: 1.552 MB / 2.072 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/5.597, allocations: 15.98 kB / 2.072 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/5.597, allocations: 0 / 2.072 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/5.599, allocations: 1.056 MB / 2.073 GB, free: 8.223 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 postOpt removeSimpleEquations (simulation): time 0.005918/5.605, allocations: 3.454 MB / 2.076 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/5.605, allocations: 2.375 kB / 2.076 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/5.606, allocations: 188.1 kB / 2.076 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/5.606, allocations: 77.67 kB / 2.077 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/5.606, allocations: 35.97 kB / 2.077 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004964/5.606, allocations: 1.136 MB / 2.078 GB, free: 3.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.606, allocations: 3.938 kB / 2.078 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/5.61, allocations: 2.321 MB / 2.08 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/5.611, allocations: 0.5206 MB / 2.08 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/5.612, allocations: 24 kB / 2.08 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/5.613, allocations: 127.7 kB / 2.081 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/5.613, allocations: 100.8 kB / 2.081 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/5.613, allocations: 47.97 kB / 2.081 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003387/5.617, allocations: 1.783 MB / 2.082 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/5.617, allocations: 0 / 2.082 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006238/5.623, allocations: 1.544 MB / 2.084 GB, free: 12.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004349/5.627, allocations: 1.893 MB / 2.086 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004879/5.632, allocations: 2.058 MB / 2.088 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/5.632, allocations: 4.125 kB / 2.088 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/5.634, allocations: 0.6114 MB / 2.088 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/5.641, allocations: 1.334 MB / 2.09 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/5.653, allocations: 5.599 MB / 2.095 GB, free: 1.324 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]