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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 97.52 kB / 15.69 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.001636/0.001636, allocations: 170.5 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.383/1.383, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6594/0.6594, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002885, allocations: 16 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 77.15 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.2876/0.4065, allocations: 58.53 MB / 0.614 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.4236, allocations: 12.27 MB / 0.626 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.4262, allocations: 61.44 kB / 0.626 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.4288, allocations: 0.7949 MB / 0.6268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007213/0.4361, allocations: 2.233 MB / 0.629 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005778/0.4418, allocations: 1.903 MB / 0.6308 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.4471, allocations: 2.704 MB / 0.6335 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.4489, allocations: 1.171 MB / 0.6346 GB, free: 5.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.4517, allocations: 1.279 MB / 0.6359 GB, free: 4.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.4531, allocations: 0.8321 MB / 0.6367 GB, free: 3.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.4533, allocations: 68.88 kB / 0.6368 GB, free: 3.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.4564, allocations: 1.175 MB / 0.6379 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.4567, allocations: 306.7 kB / 0.6382 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.4573, allocations: 404.7 kB / 0.6386 GB, free: 2.961 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.4602, allocations: 2.449 MB / 0.641 GB, free: 1.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4602, allocations: 0 / 0.641 GB, free: 1.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4602, allocations: 1.188 kB / 0.641 GB, free: 1.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.4603, allocations: 0 / 0.641 GB, free: 1.266 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.003862/0.4641, allocations: 1.981 MB / 0.6429 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.4642, allocations: 9.219 kB / 0.6429 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.469, allocations: 0.6884 MB / 0.6436 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.4717, allocations: 1.451 MB / 0.645 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4719, allocations: 131.8 kB / 0.6451 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.4721, allocations: 122.7 kB / 0.6452 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.4758, allocations: 1.645 MB / 0.6469 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.4758, allocations: 11.06 kB / 0.6469 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.476, allocations: 55.86 kB / 0.6469 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.026e-05/0.476, allocations: 37.12 kB / 0.647 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.4805, allocations: 1.491 MB / 0.6484 GB, free: 11.94 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.01009/0.4906, allocations: 7.006 MB / 0.6553 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.4929, allocations: 0.805 MB / 0.656 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.4941, allocations: 1.267 MB / 0.6573 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.496, allocations: 0.6674 MB / 0.6579 GB, free: 1.531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 2.444e-06/0.496, allocations: 0 / 0.6579 GB, free: 1.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=69): time 0.01001/0.506, allocations: 2.155 MB / 0.66 GB, free: 15.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.5062, allocations: 321 kB / 0.6603 GB, free: 14.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.5084, allocations: 1.426 MB / 0.6617 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.5085, allocations: 45.7 kB / 0.6618 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.5092, allocations: 0.7036 MB / 0.6625 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.5094, allocations: 240.5 kB / 0.6627 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.5095, allocations: 20 kB / 0.6627 GB, free: 12.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5096, allocations: 341.9 kB / 0.663 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.5115, allocations: 0.525 MB / 0.6635 GB, free: 11.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.5136, allocations: 0.8218 MB / 0.6644 GB, free: 10.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.5156, allocations: 0.606 MB / 0.6649 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5156, allocations: 4 kB / 0.6649 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007418/0.523, allocations: 1.834 MB / 0.6667 GB, free: 8.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008009/0.5239, allocations: 2.519 MB / 0.6692 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5239, allocations: 4 kB / 0.6692 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.5253, allocations: 377.6 kB / 0.6696 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.5268, allocations: 279.5 kB / 0.6698 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.528, allocations: 0.8996 MB / 0.6707 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.5306, allocations: 299.4 kB / 0.671 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.5307, allocations: 51.95 kB / 0.671 GB, free: 3.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5307, allocations: 7.938 kB / 0.671 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006954/0.5377, allocations: 1.681 MB / 0.6727 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5377, allocations: 8 kB / 0.6727 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.5389, allocations: 371.5 kB / 0.6731 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.5404, allocations: 275.5 kB / 0.6733 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.5415, allocations: 0.902 MB / 0.6742 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.5438, allocations: 258.8 kB / 0.6744 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.544, allocations: 55.94 kB / 0.6745 GB, free: 84 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.0007939/0.5448, allocations: 460.8 kB / 0.6749 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.545, allocations: 150.2 kB / 0.6751 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.5491, allocations: 1.279 MB / 0.6763 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5491, allocations: 8 kB / 0.6763 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5491, allocations: 0 / 0.6763 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003381/0.5525, allocations: 1.088 MB / 0.6774 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/0.5599, allocations: 3.353 MB / 0.6807 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.56, allocations: 4 kB / 0.6807 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.561, allocations: 168.3 kB / 0.6808 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.5624, allocations: 355.6 kB / 0.6812 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/0.5625, allocations: 31.97 kB / 0.6812 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.5638, allocations: 0.8982 MB / 0.6821 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.5638, allocations: 15.92 kB / 0.6821 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006149/0.5699, allocations: 2.242 MB / 0.6843 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.571, allocations: 406.9 kB / 0.6847 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.5713, allocations: 27.98 kB / 0.6847 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.5731, allocations: 159.7 kB / 0.6849 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.5733, allocations: 72.23 kB / 0.6849 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.5734, allocations: 39.95 kB / 0.685 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00162/0.575, allocations: 1.025 MB / 0.686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.575, allocations: 0 / 0.686 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002632/0.5776, allocations: 0.9007 MB / 0.6868 GB, free: 2.949 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.00123/0.5789, allocations: 0.5503 MB / 0.6874 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006433/0.5853, allocations: 2.011 MB / 0.6893 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.5854, allocations: 4 kB / 0.6893 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.5873, allocations: 0.5682 MB / 0.6899 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/0.5912, allocations: 0.7772 MB / 0.6907 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.597, allocations: 3.168 MB / 0.6938 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.5978, allocations: 1.25 MB / 0.695 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001851/0.5996, allocations: 371.8 kB / 0.6953 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.6, allocations: 135.3 kB / 0.6955 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.6, allocations: 0 / 0.6955 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.05788/0.6579, allocations: 36.71 MB / 0.7313 GB, free: 5.734 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)