Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7407/0.7407, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.59/1.59, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 97.3 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.024e-05, allocations: 4.406 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/1.458, allocations: 398.2 MB / 1.029 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.458, allocations: 90.77 kB / 1.029 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.025/5.483, allocations: 1.062 GB / 2.091 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.286e-06/5.483, allocations: 2.062 kB / 2.091 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005489/5.484, allocations: 83.19 kB / 2.091 GB, free: 56.95 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01242/5.496, allocations: 3.18 MB / 2.094 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/5.496, allocations: 11.09 kB / 2.094 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/5.497, allocations: 319.6 kB / 2.095 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/5.511, allocations: 1.21 MB / 2.096 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/5.521, allocations: 3.314 MB / 2.099 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/5.522, allocations: 250 kB / 2.099 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/5.522, allocations: 232.1 kB / 2.1 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007635/5.53, allocations: 2.781 MB / 2.102 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.48e-05/5.53, allocations: 3.031 kB / 2.102 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004505/5.531, allocations: 106.2 kB / 2.102 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/5.531, allocations: 71.5 kB / 2.103 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005327/5.536, allocations: 2.106 MB / 2.105 GB, free: 54.25 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02675/5.563, allocations: 13.14 MB / 2.117 GB, free: 48.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/5.565, allocations: 1.163 MB / 2.119 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/5.567, allocations: 0.6308 MB / 2.119 GB, free: 48.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/5.569, allocations: 1.775 MB / 2.121 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/5.571, allocations: 0.9608 MB / 2.122 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 1.012e-05/5.571, allocations: 0 / 2.122 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.008009/5.579, allocations: 1.696 MB / 2.123 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002656/5.579, allocations: 0.9376 MB / 2.124 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0069/5.586, allocations: 2.26 MB / 2.127 GB, free: 44.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005596/5.587, allocations: 56.83 kB / 2.127 GB, free: 44.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001923/5.589, allocations: 1.362 MB / 2.128 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/5.589, allocations: 414.4 kB / 2.128 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/5.59, allocations: 31.12 kB / 2.128 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001418/5.59, allocations: 373 kB / 2.129 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/5.592, allocations: 0.6144 MB / 2.129 GB, free: 43.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/5.594, allocations: 1.238 MB / 2.131 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/5.596, allocations: 0.7763 MB / 2.131 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/5.596, allocations: 3.562 kB / 2.131 GB, free: 42.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007249/5.604, allocations: 2.231 MB / 2.134 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001255/5.605, allocations: 5.028 MB / 2.138 GB, free: 37.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/5.605, allocations: 11.5 kB / 2.138 GB, free: 37.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/5.608, allocations: 0.637 MB / 2.139 GB, free: 37.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/5.613, allocations: 498.3 kB / 2.14 GB, free: 37.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/5.615, allocations: 1.694 MB / 2.141 GB, free: 36.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007992/5.623, allocations: 0.5074 MB / 2.142 GB, free: 36.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/5.623, allocations: 107 kB / 2.142 GB, free: 36.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/5.623, allocations: 2.5 kB / 2.142 GB, free: 36.06 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003382/5.627, allocations: 1.966 MB / 2.144 GB, free: 35.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/5.627, allocations: 9.375 kB / 2.144 GB, free: 35.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/5.629, allocations: 0.6421 MB / 2.144 GB, free: 35.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/5.631, allocations: 484.8 kB / 2.145 GB, free: 35.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/5.632, allocations: 1.686 MB / 2.146 GB, free: 34.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/5.637, allocations: 443.3 kB / 2.147 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/5.637, allocations: 116.4 kB / 2.147 GB, free: 34.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000589/5.638, allocations: 217.1 kB / 2.147 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/5.638, allocations: 272.8 kB / 2.147 GB, free: 34.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/5.643, allocations: 1.707 MB / 2.149 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/5.643, allocations: 17.88 kB / 2.149 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/5.643, allocations: 7.594 kB / 2.149 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003527/5.647, allocations: 1.483 MB / 2.151 GB, free: 34.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/5.657, allocations: 6.426 MB / 2.157 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/5.657, allocations: 10.75 kB / 2.157 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/5.659, allocations: 285.7 kB / 2.157 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/5.66, allocations: 0.634 MB / 2.158 GB, free: 32.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/5.661, allocations: 49.88 kB / 2.158 GB, free: 32.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/5.662, allocations: 1.687 MB / 2.159 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/5.662, allocations: 9.938 kB / 2.159 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/5.667, allocations: 3.285 MB / 2.163 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/5.669, allocations: 0.6545 MB / 2.163 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/5.669, allocations: 34.28 kB / 2.163 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/5.672, allocations: 280.8 kB / 2.164 GB, free: 29.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/5.672, allocations: 112.6 kB / 2.164 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/5.672, allocations: 72.61 kB / 2.164 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00294/5.675, allocations: 1.743 MB / 2.166 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/5.675, allocations: 0 / 2.166 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005654/5.681, allocations: 1.848 MB / 2.167 GB, free: 28.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.008719/5.69, allocations: 6.834 MB / 2.174 GB, free: 41.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004659/5.694, allocations: 2.706 MB / 2.177 GB, free: 41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/5.695, allocations: 4.656 kB / 2.177 GB, free: 41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/5.696, allocations: 0.7706 MB / 2.177 GB, free: 40.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007095/5.703, allocations: 1.384 MB / 2.179 GB, free: 40.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/5.716, allocations: 4.671 MB / 2.183 GB, free: 39.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/5.718, allocations: 1.78 MB / 2.185 GB, free: 38.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004277/5.722, allocations: 0.8496 MB / 2.186 GB, free: 38.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/5.723, allocations: 1.105 MB / 2.187 GB, free: 38.66 MB / 0.7292 GB Notification: Performance of SimCode: time 1.041e-06/5.723, allocations: 3.094 kB / 2.187 GB, free: 38.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/5.882, allocations: 103.1 MB / 2.288 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/5.883, allocations: 235.5 kB / 2.288 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.226/12.11, allocations: 7.406 kB / 2.288 GB, free: 6.414 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)