Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 170.7 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 240.5 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6716/0.6716, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 13.28 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.3708/0.5348, allocations: 58.52 MB / 0.6139 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.5537, allocations: 12.27 MB / 0.6259 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.5566, allocations: 62.53 kB / 0.6259 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.5595, allocations: 0.7873 MB / 0.6267 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007945/0.5675, allocations: 2.249 MB / 0.6289 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006513/0.574, allocations: 1.908 MB / 0.6307 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.5798, allocations: 2.693 MB / 0.6334 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.582, allocations: 1.173 MB / 0.6345 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.5853, allocations: 1.284 MB / 0.6358 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.5875, allocations: 0.8351 MB / 0.6366 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003176/0.5879, allocations: 68.5 kB / 0.6367 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.5917, allocations: 1.17 MB / 0.6378 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.5921, allocations: 314.4 kB / 0.6381 GB, free: 3.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000781/0.5929, allocations: 398.7 kB / 0.6385 GB, free: 3.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.5969, allocations: 2.455 MB / 0.6409 GB, free: 1.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.597, allocations: 0 / 0.6409 GB, free: 1.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.597, allocations: 0 / 0.6409 GB, free: 1.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.597, allocations: 0 / 0.6409 GB, free: 1.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004653/0.6017, allocations: 1.973 MB / 0.6428 GB, free: 15.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6017, allocations: 9 kB / 0.6428 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/0.602, allocations: 179.5 kB / 0.643 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.6069, allocations: 0.6901 MB / 0.6437 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.6096, allocations: 1.455 MB / 0.6451 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.6098, allocations: 131.9 kB / 0.6452 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.61, allocations: 123.1 kB / 0.6453 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.6138, allocations: 1.645 MB / 0.6469 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.6139, allocations: 3.906 kB / 0.6469 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.614, allocations: 56.31 kB / 0.647 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.6141, allocations: 35.66 kB / 0.647 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/0.6186, allocations: 1.493 MB / 0.6485 GB, free: 11.89 MB / 478.1 MB 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.01076/0.6293, allocations: 7.009 MB / 0.6553 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.6317, allocations: 0.7916 MB / 0.6561 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.6332, allocations: 1.267 MB / 0.6573 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.6351, allocations: 0.6674 MB / 0.658 GB, free: 1.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 2.474e-06/0.6352, allocations: 7.938 kB / 0.658 GB, free: 1.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.009696/0.6449, allocations: 2.155 MB / 0.6601 GB, free: 15.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.6451, allocations: 328.9 kB / 0.6604 GB, free: 14.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.6473, allocations: 1.423 MB / 0.6618 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.6474, allocations: 45.7 kB / 0.6618 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/0.6481, allocations: 0.7036 MB / 0.6625 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.6483, allocations: 240.5 kB / 0.6628 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.6484, allocations: 20 kB / 0.6628 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6485, allocations: 345.9 kB / 0.6631 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.6504, allocations: 0.5172 MB / 0.6636 GB, free: 11.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.6523, allocations: 0.8257 MB / 0.6644 GB, free: 10.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.6543, allocations: 0.5981 MB / 0.665 GB, free: 10.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6544, allocations: 4 kB / 0.665 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007667/0.662, allocations: 1.826 MB / 0.6668 GB, free: 8.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.6632, allocations: 2.527 MB / 0.6693 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.6632, allocations: 7.938 kB / 0.6693 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.6646, allocations: 374.5 kB / 0.6696 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6662, allocations: 279.6 kB / 0.6699 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.6674, allocations: 0.9001 MB / 0.6708 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.6701, allocations: 294.4 kB / 0.671 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.6702, allocations: 55.95 kB / 0.6711 GB, free: 3.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6702, allocations: 7.953 kB / 0.6711 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006833/0.6771, allocations: 1.681 MB / 0.6727 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6771, allocations: 8 kB / 0.6728 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.6784, allocations: 374 kB / 0.6731 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.6799, allocations: 275.5 kB / 0.6734 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.6811, allocations: 0.9001 MB / 0.6743 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.6837, allocations: 255.8 kB / 0.6745 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.6838, allocations: 55.95 kB / 0.6745 GB, free: 36 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (98): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.6849, allocations: 460.8 kB / 0.675 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.6852, allocations: 146.2 kB / 0.6751 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.6893, allocations: 1.275 MB / 0.6764 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.6894, allocations: 8 kB / 0.6764 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.6894, allocations: 7.953 kB / 0.6764 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003357/0.6927, allocations: 1.08 MB / 0.6774 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.7005, allocations: 3.346 MB / 0.6807 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.7006, allocations: 4 kB / 0.6807 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009806/0.7015, allocations: 176 kB / 0.6809 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.7028, allocations: 355.5 kB / 0.6812 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.7029, allocations: 31.97 kB / 0.6813 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.704, allocations: 0.9009 MB / 0.6821 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7041, allocations: 4 kB / 0.6821 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/0.7099, allocations: 2.258 MB / 0.6843 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.711, allocations: 406.9 kB / 0.6847 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.7112, allocations: 31.98 kB / 0.6848 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.713, allocations: 167.7 kB / 0.6849 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.7131, allocations: 68.23 kB / 0.685 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.7132, allocations: 39.95 kB / 0.685 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001664/0.7149, allocations: 1.021 MB / 0.686 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7149, allocations: 0 / 0.686 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002857/0.7178, allocations: 0.9086 MB / 0.6869 GB, free: 2.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.007524/0.7253, allocations: 4.404 MB / 0.6912 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007074/0.7324, allocations: 2.011 MB / 0.6932 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/0.7325, allocations: 4 kB / 0.6932 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.7349, allocations: 0.5643 MB / 0.6937 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/0.7416, allocations: 0.7764 MB / 0.6945 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.756, allocations: 8.25 MB / 0.7025 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7572, allocations: 1.246 MB / 0.7038 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00323/0.7605, allocations: 374.4 kB / 0.7041 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/0.7617, allocations: 0.5812 MB / 0.7047 GB, free: 292 kB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.7618, allocations: 4 kB / 0.7047 GB, free: 288 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7319/1.494, allocations: 49.69 MB / 0.7532 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005553/1.494, allocations: 271.7 kB / 0.7535 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/8.321, allocations: 6.125 kB / 0.7535 GB, free: 14.89 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: