Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_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.01153/0.01153, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.162/1.162, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.257/2.257, allocations: 223.2 MB / 406.8 MB, free: 3.16 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.001265/0.001265, allocations: 99.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005825/0.0005827, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7599, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/2.168, allocations: 398.2 MB / 1.038 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/2.168, allocations: 96.03 kB / 1.039 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.174/8.342, allocations: 1.065 GB / 2.104 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/8.342, allocations: 4 kB / 2.104 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000535/8.343, allocations: 75.92 kB / 2.104 GB, free: 14.95 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.01479/8.358, allocations: 3.7 MB / 2.107 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/8.358, allocations: 8.031 kB / 2.107 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001612/8.359, allocations: 324.7 kB / 2.108 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009755/8.369, allocations: 1.21 MB / 2.109 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/8.38, allocations: 3.336 MB / 2.112 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/8.381, allocations: 243.9 kB / 2.112 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/8.382, allocations: 239.9 kB / 2.112 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/8.393, allocations: 3.131 MB / 2.116 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/8.394, allocations: 11.94 kB / 2.116 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/8.394, allocations: 104 kB / 2.116 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/8.394, allocations: 67.98 kB / 2.116 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9644/9.359, allocations: 2.766 MB / 2.118 GB, free: 70.76 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.05303/9.412, allocations: 13.14 MB / 2.131 GB, free: 65.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008928/9.421, allocations: 1.494 MB / 2.133 GB, free: 65.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/9.424, allocations: 1.776 MB / 2.134 GB, free: 63.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006888/9.431, allocations: 1.215 MB / 2.136 GB, free: 62.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 1.781e-05/9.431, allocations: 0 / 2.136 GB, free: 62.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=118): time 0.03547/9.466, allocations: 4.264 MB / 2.14 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005769/9.467, allocations: 0.9363 MB / 2.141 GB, free: 61.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/9.48, allocations: 2.344 MB / 2.143 GB, free: 61.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/9.482, allocations: 62.42 kB / 2.143 GB, free: 61.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003893/9.486, allocations: 1.352 MB / 2.144 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/9.487, allocations: 418 kB / 2.145 GB, free: 60.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007249/9.488, allocations: 31.25 kB / 2.145 GB, free: 60.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003716/9.488, allocations: 369.8 kB / 2.145 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006537/9.495, allocations: 0.9455 MB / 2.146 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007354/9.502, allocations: 1.549 MB / 2.148 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/9.51, allocations: 1.088 MB / 2.149 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.796e-05/9.51, allocations: 3.656 kB / 2.149 GB, free: 59.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.02152/9.531, allocations: 2.895 MB / 2.151 GB, free: 59.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00372/9.535, allocations: 5.046 MB / 2.156 GB, free: 54.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.216e-05/9.535, allocations: 11.53 kB / 2.156 GB, free: 54.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/9.54, allocations: 0.7254 MB / 2.157 GB, free: 54.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/9.545, allocations: 499.4 kB / 2.158 GB, free: 54.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/9.549, allocations: 1.791 MB / 2.159 GB, free: 53.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009648/9.559, allocations: 0.516 MB / 2.16 GB, free: 52.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/9.56, allocations: 107.2 kB / 2.16 GB, free: 52.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/9.56, allocations: 11.73 kB / 2.16 GB, free: 52.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.016/9.576, allocations: 2.582 MB / 2.162 GB, free: 52.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.781e-05/9.577, allocations: 10.88 kB / 2.162 GB, free: 52.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003977/9.581, allocations: 0.7198 MB / 2.163 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/9.585, allocations: 486.3 kB / 2.164 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/9.589, allocations: 1.801 MB / 2.165 GB, free: 51.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008203/9.597, allocations: 430.7 kB / 2.166 GB, free: 51.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009251/9.598, allocations: 104.6 kB / 2.166 GB, free: 51.75 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.004169/9.602, allocations: 0.6987 MB / 2.167 GB, free: 51.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/9.604, allocations: 279.3 kB / 2.167 GB, free: 51.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/9.621, allocations: 2.276 MB / 2.169 GB, free: 51.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/9.621, allocations: 18.25 kB / 2.169 GB, free: 51.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/9.621, allocations: 7.219 kB / 2.169 GB, free: 51.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01339/9.634, allocations: 2.058 MB / 2.171 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/9.665, allocations: 6.989 MB / 2.178 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.905e-05/9.665, allocations: 7.25 kB / 2.178 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/9.668, allocations: 291.6 kB / 2.178 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/9.672, allocations: 0.7027 MB / 2.179 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/9.673, allocations: 53.66 kB / 2.179 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/9.676, allocations: 1.783 MB / 2.181 GB, free: 47.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/9.676, allocations: 9.625 kB / 2.181 GB, free: 47.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/9.697, allocations: 4.104 MB / 2.185 GB, free: 46.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003971/9.701, allocations: 0.658 MB / 2.185 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002176/9.703, allocations: 45.88 kB / 2.185 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007126/9.71, allocations: 279.3 kB / 2.186 GB, free: 46.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006844/9.711, allocations: 111.8 kB / 2.186 GB, free: 46.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006645/9.712, allocations: 70.52 kB / 2.186 GB, free: 46.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.008192/9.72, allocations: 1.831 MB / 2.188 GB, free: 46.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.202e-06/9.72, allocations: 0 / 2.188 GB, free: 46.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.015/9.735, allocations: 1.844 MB / 2.189 GB, free: 46.01 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.02896/9.764, allocations: 7.647 MB / 2.197 GB, free: 42.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02156/9.786, allocations: 3.483 MB / 2.2 GB, free: 42.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-05/9.786, allocations: 6.875 kB / 2.2 GB, free: 42.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004287/9.79, allocations: 1.034 MB / 2.201 GB, free: 42.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009482/9.799, allocations: 1.382 MB / 2.203 GB, free: 42.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07677/9.876, allocations: 26.92 MB / 2.229 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/9.879, allocations: 1.762 MB / 2.231 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004871/9.884, allocations: 0.6861 MB / 2.231 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002333/9.887, allocations: 1.159 MB / 2.233 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of SimCode: time 1.873e-06/9.887, allocations: 2.844 kB / 2.233 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/10.13, allocations: 98.94 MB / 2.329 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/10.13, allocations: 265.1 kB / 2.329 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/18.75, allocations: 0 / 2.329 GB, free: 35.89 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)