Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.01494/0.01494, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.23/1.23, allocations: 135.2 MB / 151 MB, free: 13.82 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.284/2.284, 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.001267/0.001266, allocations: 89.16 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006111, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6932, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/2.094, allocations: 398.4 MB / 1.039 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004461/2.095, allocations: 97.27 kB / 1.039 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.427/8.522, allocations: 1.066 GB / 2.105 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.449e-06/8.522, allocations: 0 / 2.105 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0008905/8.523, allocations: 79.92 kB / 2.105 GB, free: 13.77 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.0247/8.548, allocations: 3.728 MB / 2.109 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001086/8.548, allocations: 8.031 kB / 2.109 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003055/8.551, allocations: 332.8 kB / 2.109 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/8.566, allocations: 1.213 MB / 2.11 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/8.583, allocations: 3.334 MB / 2.114 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006059/8.584, allocations: 255.9 kB / 2.114 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/8.585, allocations: 232 kB / 2.114 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/8.605, allocations: 3.182 MB / 2.117 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/8.605, allocations: 7.938 kB / 2.117 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/8.606, allocations: 100 kB / 2.117 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/8.607, allocations: 96.27 kB / 2.117 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8952/9.502, allocations: 2.797 MB / 2.12 GB, free: 67.46 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.03466/9.537, allocations: 13.36 MB / 2.133 GB, free: 61.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/9.542, allocations: 1.525 MB / 2.135 GB, free: 61.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/9.543, allocations: 1.775 MB / 2.136 GB, free: 59.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004039/9.548, allocations: 1.207 MB / 2.137 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 5.45e-06/9.548, allocations: 0 / 2.137 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.04365/9.591, allocations: 13.32 MB / 2.151 GB, free: 53.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004022/9.592, allocations: 0.9428 MB / 2.151 GB, free: 52.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007702/9.599, allocations: 2.424 MB / 2.154 GB, free: 51.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008035/9.6, allocations: 63.52 kB / 2.154 GB, free: 51.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002689/9.603, allocations: 1.359 MB / 2.155 GB, free: 51.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/9.604, allocations: 423.1 kB / 2.156 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/9.605, allocations: 39.06 kB / 2.156 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002068/9.605, allocations: 369.6 kB / 2.156 GB, free: 51.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/9.61, allocations: 0.9267 MB / 2.157 GB, free: 51.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007525/9.618, allocations: 1.557 MB / 2.158 GB, free: 50.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007354/9.625, allocations: 1.067 MB / 2.159 GB, free: 50.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-05/9.625, allocations: 3.688 kB / 2.159 GB, free: 50.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01917/9.644, allocations: 2.987 MB / 2.162 GB, free: 50.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001799/9.646, allocations: 5.259 MB / 2.168 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/9.646, allocations: 17 kB / 2.168 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005235/9.652, allocations: 0.9274 MB / 2.168 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/9.657, allocations: 456.9 kB / 2.169 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/9.661, allocations: 2.184 MB / 2.171 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009744/9.671, allocations: 416.3 kB / 2.171 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/9.672, allocations: 110.2 kB / 2.171 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/9.672, allocations: 3.844 kB / 2.171 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01481/9.687, allocations: 2.646 MB / 2.174 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/9.687, allocations: 13.25 kB / 2.174 GB, free: 43.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004946/9.692, allocations: 0.9278 MB / 2.175 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/9.697, allocations: 439 kB / 2.175 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005287/9.702, allocations: 2.189 MB / 2.178 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009291/9.712, allocations: 353.5 kB / 2.178 GB, free: 42.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/9.713, allocations: 104.9 kB / 2.178 GB, free: 42.33 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (152): * Single equations (assignments): 149 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.005193/9.718, allocations: 0.712 MB / 2.179 GB, free: 42.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/9.72, allocations: 282.4 kB / 2.179 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/9.736, allocations: 2.355 MB / 2.181 GB, free: 41.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/9.736, allocations: 17.31 kB / 2.181 GB, free: 41.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/9.736, allocations: 9.484 kB / 2.181 GB, free: 41.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009816/9.746, allocations: 2.114 MB / 2.183 GB, free: 41.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/9.764, allocations: 6.763 MB / 2.19 GB, free: 39.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/9.764, allocations: 6.938 kB / 2.19 GB, free: 39.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/9.766, allocations: 282.5 kB / 2.19 GB, free: 39.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/9.769, allocations: 0.7918 MB / 2.191 GB, free: 39.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/9.769, allocations: 49.36 kB / 2.191 GB, free: 39.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/9.772, allocations: 1.968 MB / 2.193 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/9.772, allocations: 13.44 kB / 2.193 GB, free: 38.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/9.786, allocations: 4.114 MB / 2.197 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/9.789, allocations: 0.6548 MB / 2.198 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001973/9.791, allocations: 36.05 kB / 2.198 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007783/9.799, allocations: 279.5 kB / 2.198 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/9.799, allocations: 108.6 kB / 2.198 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004527/9.8, allocations: 74.47 kB / 2.198 GB, free: 36.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00784/9.808, allocations: 1.911 MB / 2.2 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.913e-06/9.808, allocations: 0 / 2.2 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01503/9.823, allocations: 1.656 MB / 2.202 GB, free: 36.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02966/9.853, allocations: 7.546 MB / 2.209 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02083/9.873, allocations: 3.537 MB / 2.212 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.933e-05/9.874, allocations: 4.625 kB / 2.212 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005436/9.879, allocations: 1.044 MB / 2.213 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/9.894, allocations: 1.502 MB / 2.215 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09059/9.985, allocations: 27.65 MB / 2.242 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/9.987, allocations: 1.77 MB / 2.244 GB, free: 16.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00582/9.993, allocations: 0.6605 MB / 2.244 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003008/9.996, allocations: 1.174 MB / 2.245 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.803e-06/9.996, allocations: 0 / 2.245 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2469/10.24, allocations: 104 MB / 2.347 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/10.24, allocations: 262.9 kB / 2.347 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.493/19.74, allocations: 2.672 kB / 2.347 GB, free: 5.848 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)