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.001769/0.001769, allocations: 100.8 kB / 16.64 MB, free: 6.82 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.001888/0.001888, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.458/1.458, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8215/0.8215, allocations: 125.4 MB / 416.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 0.4943 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3934, allocations: 78.57 MB / 0.571 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06405/0.4575, allocations: 69.45 MB / 0.6388 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.4812, allocations: 14.4 MB / 0.6529 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.4849, allocations: 67.56 kB / 0.653 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.4882, allocations: 0.8006 MB / 0.6537 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008256/0.4965, allocations: 2.369 MB / 0.6561 GB, free: 444 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00579/0.5023, allocations: 1.836 MB / 0.6578 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007791/0.5101, allocations: 4.753 MB / 0.6625 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.5132, allocations: 1.616 MB / 0.6641 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.5192, allocations: 1.925 MB / 0.6659 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.5221, allocations: 1.319 MB / 0.6672 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/0.5227, allocations: 200 kB / 0.6674 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005048/0.5277, allocations: 1.938 MB / 0.6693 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008305/0.5286, allocations: 482.4 kB / 0.6698 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.5306, allocations: 1.042 MB / 0.6708 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.5354, allocations: 2.76 MB / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5355, allocations: 0 / 0.6735 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5355, allocations: 4 kB / 0.6735 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.537e-05/0.5355, allocations: 0 / 0.6735 GB, free: 14.52 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.005281/0.5408, allocations: 2.363 MB / 0.6758 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5409, allocations: 12.03 kB / 0.6758 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.5463, allocations: 0.6502 MB / 0.6764 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.5494, allocations: 1.565 MB / 0.678 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.5497, allocations: 128 kB / 0.6781 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.5499, allocations: 124 kB / 0.6782 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.5543, allocations: 1.636 MB / 0.6798 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.5544, allocations: 3.938 kB / 0.6798 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5545, allocations: 52 kB / 0.6799 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.5546, allocations: 32 kB / 0.6799 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004912/0.5595, allocations: 1.449 MB / 0.6813 GB, free: 6.277 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.01199/0.5715, allocations: 7.175 MB / 0.6883 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.574, allocations: 0.7519 MB / 0.6891 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.5757, allocations: 490.2 kB / 0.6895 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/0.5772, allocations: 1.27 MB / 0.6908 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/0.5794, allocations: 0.6363 MB / 0.6914 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 2.765e-06/0.5794, allocations: 0 / 0.6914 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01052/0.5899, allocations: 2.048 MB / 0.6934 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.5902, allocations: 320.9 kB / 0.6937 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.593, allocations: 1.391 MB / 0.695 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.5933, allocations: 49.7 kB / 0.6951 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/0.5941, allocations: 0.692 MB / 0.6958 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.5945, allocations: 244.6 kB / 0.696 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/0.595, allocations: 250.3 kB / 0.6962 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5952, allocations: 341.9 kB / 0.6966 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.5972, allocations: 0.5044 MB / 0.6971 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.5996, allocations: 0.8022 MB / 0.6978 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.6036, allocations: 1.166 MB / 0.699 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6036, allocations: 0 / 0.699 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006891/0.6105, allocations: 1.637 MB / 0.7006 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.6106, allocations: 39.83 kB / 0.7006 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6106, allocations: 4 kB / 0.7006 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.612, allocations: 366.4 kB / 0.701 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.6134, allocations: 263.5 kB / 0.7012 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.6148, allocations: 0.8957 MB / 0.7021 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.6173, allocations: 272.9 kB / 0.7024 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.6175, allocations: 63.94 kB / 0.7024 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002601/0.6201, allocations: 0.7907 MB / 0.7032 GB, free: 14.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002284/0.6224, allocations: 0.8136 MB / 0.704 GB, free: 13.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003731/0.6262, allocations: 1.142 MB / 0.7051 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.6262, allocations: 4 kB / 0.7051 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006685/0.6329, allocations: 1.626 MB / 0.7067 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.633, allocations: 37.69 kB / 0.7067 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.633, allocations: 8 kB / 0.7067 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.6343, allocations: 368.5 kB / 0.7071 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.6358, allocations: 267.5 kB / 0.7073 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.6371, allocations: 0.8964 MB / 0.7082 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.6398, allocations: 251.1 kB / 0.7085 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.64, allocations: 55.95 kB / 0.7085 GB, free: 9.035 MB / 0.545 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004379/0.6404, allocations: 244 kB / 0.7087 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.6408, allocations: 150.2 kB / 0.7089 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.6451, allocations: 1.219 MB / 0.7101 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.6451, allocations: 11.94 kB / 0.7101 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6452, allocations: 0 / 0.7101 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003528/0.6487, allocations: 1.022 MB / 0.7111 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/0.6569, allocations: 3.275 MB / 0.7143 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.657, allocations: 4 kB / 0.7143 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.658, allocations: 160.1 kB / 0.7144 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.6593, allocations: 355.4 kB / 0.7148 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.6593, allocations: 27.91 kB / 0.7148 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6606, allocations: 0.886 MB / 0.7157 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6606, allocations: 4 kB / 0.7157 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/0.6667, allocations: 1.89 MB / 0.7175 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6678, allocations: 358.9 kB / 0.7179 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.6681, allocations: 23.98 kB / 0.7179 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.6698, allocations: 143.9 kB / 0.718 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.67, allocations: 64.33 kB / 0.7181 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6701, allocations: 47.89 kB / 0.7181 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001789/0.6719, allocations: 0.9862 MB / 0.7191 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6719, allocations: 0 / 0.7191 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002879/0.6748, allocations: 0.9085 MB / 0.72 GB, free: 12.98 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.6763, allocations: 0.5401 MB / 0.7205 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007029/0.6833, allocations: 1.987 MB / 0.7225 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.6834, allocations: 0 / 0.7225 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6854, allocations: 0.5365 MB / 0.723 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/0.6896, allocations: 0.8329 MB / 0.7238 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.6966, allocations: 3.245 MB / 0.727 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009696/0.6976, allocations: 1.211 MB / 0.7281 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/0.6982, allocations: 155.3 kB / 0.7283 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.6983, allocations: 0 / 0.7283 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of Templates: time 0.3392/1.037, allocations: 36.7 MB / 0.7641 GB, free: 154.2 MB / 0.5762 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)