Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_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.008531/0.008531, allocations: 170.5 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 0.7749/0.7749, allocations: 135.2 MB / 151 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.504/1.504, allocations: 223.1 MB / 406.8 MB, free: 3.242 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.0008675/0.0008674, allocations: 93.95 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005632/0.0005634, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4868, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8965/1.383, allocations: 398.4 MB / 1.039 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.384, allocations: 101.6 kB / 1.039 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.997/5.38, allocations: 1.066 GB / 2.105 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/5.38, allocations: 0 / 2.105 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003232/5.381, allocations: 83.91 kB / 2.105 GB, free: 13.52 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.01163/5.392, allocations: 3.724 MB / 2.109 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/5.393, allocations: 12.03 kB / 2.109 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001167/5.394, allocations: 328.8 kB / 2.109 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009718/5.403, allocations: 1.217 MB / 2.11 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009177/5.413, allocations: 3.33 MB / 2.114 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/5.413, allocations: 255.9 kB / 2.114 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/5.414, allocations: 232 kB / 2.114 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008022/5.422, allocations: 3.182 MB / 2.117 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/5.422, allocations: 7.938 kB / 2.117 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/5.422, allocations: 104 kB / 2.117 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/5.422, allocations: 92.27 kB / 2.117 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5362/5.958, allocations: 2.8 MB / 2.12 GB, free: 68.32 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.02478/5.983, allocations: 13.36 MB / 2.133 GB, free: 62.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/5.987, allocations: 1.524 MB / 2.135 GB, free: 62.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/5.989, allocations: 1.775 MB / 2.136 GB, free: 60.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003403/5.992, allocations: 1.206 MB / 2.138 GB, free: 60.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 4.007e-06/5.992, allocations: 0 / 2.138 GB, free: 60.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.03767/6.03, allocations: 13.32 MB / 2.151 GB, free: 54.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002694/6.03, allocations: 0.9398 MB / 2.151 GB, free: 53.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/6.035, allocations: 2.425 MB / 2.154 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004689/6.036, allocations: 57.48 kB / 2.154 GB, free: 52.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/6.037, allocations: 1.369 MB / 2.155 GB, free: 52.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/6.038, allocations: 423.8 kB / 2.156 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/6.038, allocations: 34.44 kB / 2.156 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001471/6.038, allocations: 372.6 kB / 2.156 GB, free: 51.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/6.042, allocations: 0.9234 MB / 2.157 GB, free: 51.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/6.046, allocations: 1.562 MB / 2.158 GB, free: 51.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/6.05, allocations: 1.067 MB / 2.159 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/6.05, allocations: 5.25 kB / 2.159 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009531/6.059, allocations: 2.98 MB / 2.162 GB, free: 50.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001253/6.061, allocations: 5.271 MB / 2.168 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/6.061, allocations: 10.84 kB / 2.168 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/6.063, allocations: 0.9263 MB / 2.168 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/6.066, allocations: 460.5 kB / 2.169 GB, free: 45.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/6.069, allocations: 2.179 MB / 2.171 GB, free: 44.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006414/6.075, allocations: 417.2 kB / 2.171 GB, free: 44.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006216/6.076, allocations: 105.8 kB / 2.171 GB, free: 44.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/6.076, allocations: 3.469 kB / 2.172 GB, free: 44.38 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00832/6.084, allocations: 2.647 MB / 2.174 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/6.084, allocations: 14.81 kB / 2.174 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/6.087, allocations: 0.9262 MB / 2.175 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/6.09, allocations: 438.2 kB / 2.175 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/6.092, allocations: 2.189 MB / 2.178 GB, free: 43.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/6.097, allocations: 352.5 kB / 2.178 GB, free: 43.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/6.098, allocations: 106.8 kB / 2.178 GB, free: 43.2 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.002206/6.1, allocations: 0.7054 MB / 2.179 GB, free: 43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/6.101, allocations: 282.8 kB / 2.179 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009154/6.11, allocations: 2.346 MB / 2.181 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/6.11, allocations: 15.66 kB / 2.181 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/6.11, allocations: 9.922 kB / 2.181 GB, free: 42.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007856/6.118, allocations: 2.117 MB / 2.183 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/6.132, allocations: 6.77 MB / 2.19 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/6.133, allocations: 8.844 kB / 2.19 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/6.134, allocations: 278.1 kB / 2.19 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/6.137, allocations: 0.7926 MB / 2.191 GB, free: 40.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/6.137, allocations: 53.5 kB / 2.191 GB, free: 40.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/6.139, allocations: 1.962 MB / 2.193 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/6.139, allocations: 12.78 kB / 2.193 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/6.151, allocations: 4.126 MB / 2.197 GB, free: 38.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/6.153, allocations: 0.649 MB / 2.198 GB, free: 37.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008019/6.154, allocations: 34.16 kB / 2.198 GB, free: 37.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/6.158, allocations: 286.9 kB / 2.198 GB, free: 37.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/6.158, allocations: 114 kB / 2.198 GB, free: 37.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/6.158, allocations: 71.45 kB / 2.198 GB, free: 37.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003355/6.161, allocations: 1.904 MB / 2.2 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.212e-06/6.161, allocations: 0 / 2.2 GB, free: 37.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006982/6.168, allocations: 1.662 MB / 2.202 GB, free: 37.62 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.01515/6.183, allocations: 7.532 MB / 2.209 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01257/6.196, allocations: 3.546 MB / 2.212 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.819e-05/6.196, allocations: 2.344 kB / 2.212 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/6.2, allocations: 1.048 MB / 2.213 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008075/6.208, allocations: 1.495 MB / 2.215 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05132/6.259, allocations: 27.65 MB / 2.242 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/6.26, allocations: 1.772 MB / 2.244 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004027/6.264, allocations: 0.6555 MB / 2.244 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/6.266, allocations: 1.173 MB / 2.245 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/6.266, allocations: 0 / 2.245 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1604/6.427, allocations: 104 MB / 2.347 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/6.427, allocations: 262.3 kB / 2.347 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.632/12.06, allocations: 0 / 2.347 GB, free: 6.668 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)