Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009469/0.0009503, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009662, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9768/0.9768, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003017, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.2982/0.4426, allocations: 58.56 MB / 0.6545 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.4591, allocations: 12.29 MB / 0.6665 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.4617, allocations: 62.25 kB / 0.6665 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.4646, allocations: 0.7891 MB / 0.6673 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007206/0.4718, allocations: 2.241 MB / 0.6695 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006221/0.478, allocations: 1.895 MB / 0.6713 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005563/0.4836, allocations: 2.706 MB / 0.674 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.486, allocations: 1.178 MB / 0.6751 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.4893, allocations: 1.282 MB / 0.6764 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.4915, allocations: 0.8258 MB / 0.6772 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.492, allocations: 68.81 kB / 0.6772 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.4958, allocations: 1.172 MB / 0.6784 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.4963, allocations: 310.8 kB / 0.6787 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.497, allocations: 403.7 kB / 0.6791 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.5008, allocations: 2.602 MB / 0.6816 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.5008, allocations: 1.188 kB / 0.6816 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5008, allocations: 0 / 0.6816 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.738e-05/0.5009, allocations: 0 / 0.6816 GB, free: 7.723 MB / 0.5137 GB 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.004564/0.5054, allocations: 1.979 MB / 0.6835 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5055, allocations: 8.797 kB / 0.6835 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.5108, allocations: 0.6909 MB / 0.6842 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/0.514, allocations: 1.466 MB / 0.6857 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.5142, allocations: 127.6 kB / 0.6858 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.5144, allocations: 122.2 kB / 0.6859 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.5186, allocations: 1.649 MB / 0.6875 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.5187, allocations: 1.219 kB / 0.6875 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.5189, allocations: 50.42 kB / 0.6876 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/0.5189, allocations: 41.86 kB / 0.6876 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.524, allocations: 1.491 MB / 0.689 GB, free: 4.023 MB / 0.5137 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.0113/0.5353, allocations: 7.035 MB / 0.6959 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.5377, allocations: 0.784 MB / 0.6967 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.5391, allocations: 1.267 MB / 0.6979 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/0.5411, allocations: 0.6681 MB / 0.6986 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 2.685e-06/0.5411, allocations: 0 / 0.6986 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01054/0.5517, allocations: 2.167 MB / 0.7007 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.5519, allocations: 321.2 kB / 0.701 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.5544, allocations: 1.425 MB / 0.7024 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.5546, allocations: 49.7 kB / 0.7024 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/0.5553, allocations: 0.6979 MB / 0.7031 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.5556, allocations: 242.9 kB / 0.7033 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.5557, allocations: 20.12 kB / 0.7034 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5558, allocations: 342.6 kB / 0.7037 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.5578, allocations: 0.5307 MB / 0.7042 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002231/0.5601, allocations: 0.8188 MB / 0.705 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.5622, allocations: 0.602 MB / 0.7056 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.5622, allocations: 2.094 kB / 0.7056 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007851/0.57, allocations: 1.833 MB / 0.7074 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009418/0.571, allocations: 2.518 MB / 0.7099 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.571, allocations: 10.39 kB / 0.7099 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.5725, allocations: 377.5 kB / 0.7102 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.5742, allocations: 272.7 kB / 0.7105 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5754, allocations: 0.9033 MB / 0.7114 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5782, allocations: 288.6 kB / 0.7116 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.5783, allocations: 58.16 kB / 0.7117 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5784, allocations: 8.281 kB / 0.7117 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00709/0.5855, allocations: 1.675 MB / 0.7133 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5855, allocations: 11.88 kB / 0.7133 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.5867, allocations: 370.6 kB / 0.7137 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.5882, allocations: 280.2 kB / 0.714 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.5893, allocations: 0.899 MB / 0.7148 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.5918, allocations: 263.9 kB / 0.7151 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.5919, allocations: 58.33 kB / 0.7152 GB, free: 1.625 MB / 0.5294 GB 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.0009314/0.5928, allocations: 461.1 kB / 0.7156 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.5932, allocations: 151 kB / 0.7157 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/0.5973, allocations: 1.275 MB / 0.717 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5973, allocations: 12.03 kB / 0.717 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5973, allocations: 3.984 kB / 0.717 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003476/0.6008, allocations: 1.084 MB / 0.7181 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007481/0.6083, allocations: 3.369 MB / 0.7213 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6083, allocations: 4 kB / 0.7214 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.6093, allocations: 163.9 kB / 0.7215 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.6106, allocations: 366.7 kB / 0.7219 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.6107, allocations: 23.97 kB / 0.7219 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.6118, allocations: 0.8992 MB / 0.7228 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.6118, allocations: 8.562 kB / 0.7228 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.6177, allocations: 2.25 MB / 0.725 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009502/0.6187, allocations: 418.8 kB / 0.7254 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.6189, allocations: 19.95 kB / 0.7254 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.6207, allocations: 163.5 kB / 0.7255 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.6209, allocations: 72.23 kB / 0.7256 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.6209, allocations: 43.95 kB / 0.7256 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001649/0.6226, allocations: 1.017 MB / 0.7266 GB, free: 5.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6226, allocations: 0 / 0.7266 GB, free: 5.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002714/0.6253, allocations: 0.9124 MB / 0.7275 GB, free: 4.891 MB / 0.545 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.00118/0.6265, allocations: 0.5615 MB / 0.7281 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006476/0.633, allocations: 2.008 MB / 0.73 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.633, allocations: 0.5625 kB / 0.73 GB, free: 2.309 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/0.635, allocations: 0.5793 MB / 0.7306 GB, free: 1.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/0.6388, allocations: 0.7817 MB / 0.7314 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.6448, allocations: 3.146 MB / 0.7344 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.6456, allocations: 1.242 MB / 0.7357 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001807/0.6474, allocations: 382 kB / 0.736 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.6478, allocations: 131.3 kB / 0.7361 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of SimCode: time 2.134e-06/0.6478, allocations: 0 / 0.7361 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.05774/0.7055, allocations: 37.12 MB / 0.7724 GB, free: 7.387 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: