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.007354/0.007353, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7365/0.7365, allocations: 135.2 MB / 151 MB, free: 13.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.5/1.5, allocations: 223.1 MB / 406.8 MB, free: 3.219 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.0009458/0.0009458, allocations: 101.3 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4582, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.346, allocations: 398.2 MB / 1.038 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.347, allocations: 93.7 kB / 1.039 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.882/5.228, allocations: 1.065 GB / 2.104 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.755e-06/5.228, allocations: 0 / 2.104 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003456/5.229, allocations: 79.92 kB / 2.104 GB, free: 14.98 MB / 0.7292 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.01144/5.24, allocations: 3.684 MB / 2.107 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/5.24, allocations: 16.02 kB / 2.107 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001349/5.241, allocations: 320.7 kB / 2.108 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009699/5.251, allocations: 1.213 MB / 2.109 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00869/5.26, allocations: 3.336 MB / 2.112 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/5.26, allocations: 251.9 kB / 2.112 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/5.261, allocations: 231.9 kB / 2.112 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/5.27, allocations: 3.135 MB / 2.116 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/5.27, allocations: 7.922 kB / 2.116 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/5.27, allocations: 104 kB / 2.116 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.638e-05/5.27, allocations: 67.98 kB / 2.116 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5414/5.812, allocations: 2.764 MB / 2.118 GB, free: 70.34 MB / 0.7292 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.02715/5.839, allocations: 13.14 MB / 2.131 GB, free: 65.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/5.843, allocations: 1.495 MB / 2.133 GB, free: 64.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/5.845, allocations: 1.781 MB / 2.134 GB, free: 62.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003765/5.849, allocations: 1.211 MB / 2.136 GB, free: 62.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 4.489e-06/5.849, allocations: 1.156 kB / 2.136 GB, free: 62.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=118): time 0.02085/5.87, allocations: 4.264 MB / 2.14 GB, free: 62.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002416/5.87, allocations: 0.9384 MB / 2.141 GB, free: 61.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/5.875, allocations: 2.336 MB / 2.143 GB, free: 60.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006162/5.876, allocations: 63.2 kB / 2.143 GB, free: 60.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/5.877, allocations: 1.36 MB / 2.144 GB, free: 60.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/5.878, allocations: 417.7 kB / 2.145 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/5.878, allocations: 34.88 kB / 2.145 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001392/5.878, allocations: 363 kB / 2.145 GB, free: 59.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/5.882, allocations: 0.9393 MB / 2.146 GB, free: 59.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/5.886, allocations: 1.557 MB / 2.148 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/5.889, allocations: 1.087 MB / 2.149 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/5.889, allocations: 3.875 kB / 2.149 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01014/5.9, allocations: 2.905 MB / 2.151 GB, free: 58.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009954/5.901, allocations: 5.037 MB / 2.156 GB, free: 53.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/5.901, allocations: 13.44 kB / 2.156 GB, free: 53.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/5.903, allocations: 0.7268 MB / 2.157 GB, free: 53.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/5.906, allocations: 497.4 kB / 2.158 GB, free: 53.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/5.908, allocations: 1.795 MB / 2.159 GB, free: 52.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/5.914, allocations: 0.5077 MB / 2.16 GB, free: 52.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/5.915, allocations: 116.3 kB / 2.16 GB, free: 52.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/5.915, allocations: 7.578 kB / 2.16 GB, free: 52.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009096/5.924, allocations: 2.582 MB / 2.162 GB, free: 52.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.347e-05/5.924, allocations: 13.67 kB / 2.162 GB, free: 52.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/5.927, allocations: 0.7168 MB / 2.163 GB, free: 52.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/5.93, allocations: 485.5 kB / 2.164 GB, free: 52.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/5.932, allocations: 1.799 MB / 2.165 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/5.938, allocations: 429.8 kB / 2.166 GB, free: 51.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006333/5.939, allocations: 106.5 kB / 2.166 GB, free: 51.34 MB / 0.7292 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 () * Number of clocked 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.003337/5.942, allocations: 0.696 MB / 2.167 GB, free: 51.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/5.944, allocations: 283.2 kB / 2.167 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/5.955, allocations: 2.273 MB / 2.169 GB, free: 50.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.033e-05/5.955, allocations: 21.52 kB / 2.169 GB, free: 50.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/5.955, allocations: 5.562 kB / 2.169 GB, free: 50.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008476/5.964, allocations: 2.058 MB / 2.171 GB, free: 50.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/5.984, allocations: 6.993 MB / 2.178 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/5.984, allocations: 3.906 kB / 2.178 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/5.986, allocations: 292.1 kB / 2.178 GB, free: 48.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/5.988, allocations: 0.7024 MB / 2.179 GB, free: 48.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/5.988, allocations: 50.25 kB / 2.179 GB, free: 48.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/5.991, allocations: 1.786 MB / 2.181 GB, free: 47.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/5.991, allocations: 7.281 kB / 2.181 GB, free: 47.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/6.003, allocations: 4.111 MB / 2.185 GB, free: 46.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/6.005, allocations: 0.6586 MB / 2.185 GB, free: 45.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/6.007, allocations: 37.48 kB / 2.185 GB, free: 45.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004494/6.011, allocations: 278.2 kB / 2.186 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/6.012, allocations: 111.7 kB / 2.186 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/6.012, allocations: 75.58 kB / 2.186 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004584/6.017, allocations: 1.829 MB / 2.188 GB, free: 45.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.102e-06/6.017, allocations: 0 / 2.188 GB, free: 45.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009036/6.026, allocations: 1.839 MB / 2.189 GB, free: 45.59 MB / 0.7292 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) * Number of clocked states: 0 () * 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.01725/6.043, allocations: 7.653 MB / 2.197 GB, free: 42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0132/6.056, allocations: 3.486 MB / 2.2 GB, free: 41.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-05/6.056, allocations: 3.531 kB / 2.2 GB, free: 41.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/6.06, allocations: 1.036 MB / 2.201 GB, free: 41.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007931/6.068, allocations: 1.382 MB / 2.203 GB, free: 41.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06042/6.128, allocations: 26.93 MB / 2.229 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/6.132, allocations: 1.764 MB / 2.231 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004559/6.136, allocations: 0.686 MB / 2.231 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/6.139, allocations: 1.155 MB / 2.232 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of SimCode: time 1.566e-05/6.139, allocations: 0.5625 kB / 2.233 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/6.297, allocations: 98.91 MB / 2.329 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/6.297, allocations: 268.9 kB / 2.329 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.574/11.87, allocations: 0 / 2.329 GB, free: 35.51 MB / 0.7448 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)