Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001104/0.001104, allocations: 117 kB / 16.42 MB, free: 6.512 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.001058/0.001058, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7828/0.7828, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.8 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06651/0.1974, allocations: 69.96 MB / 0.7287 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01992/0.2174, allocations: 14.48 MB / 0.7428 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.2197, allocations: 71.56 kB / 0.7429 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.2223, allocations: 0.9512 MB / 0.7438 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007122/0.2294, allocations: 2.677 MB / 0.7464 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3068/0.5362, allocations: 1.986 MB / 0.7484 GB, free: 23.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006289/0.5425, allocations: 4.723 MB / 0.753 GB, free: 23.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.5449, allocations: 1.633 MB / 0.7546 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.5491, allocations: 1.833 MB / 0.7564 GB, free: 23.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.5512, allocations: 1.293 MB / 0.7576 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.5517, allocations: 198.9 kB / 0.7578 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.5558, allocations: 1.986 MB / 0.7597 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.5563, allocations: 473.5 kB / 0.7602 GB, free: 23.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.5576, allocations: 1.03 MB / 0.7612 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005243/0.5628, allocations: 3.563 MB / 0.7647 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5628, allocations: 0 / 0.7647 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5628, allocations: 4.594 kB / 0.7647 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.694e-05/0.5629, allocations: 0 / 0.7647 GB, free: 22.91 MB / 0.5762 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.004462/0.5674, allocations: 2.42 MB / 0.7671 GB, free: 21.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5674, allocations: 12.97 kB / 0.7671 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.5725, allocations: 0.6577 MB / 0.7677 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5748, allocations: 1.598 MB / 0.7693 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.575, allocations: 130 kB / 0.7694 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.5752, allocations: 129.8 kB / 0.7695 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.5788, allocations: 1.623 MB / 0.7711 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.5789, allocations: 5.438 kB / 0.7711 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.579, allocations: 51.62 kB / 0.7712 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.5791, allocations: 37.17 kB / 0.7712 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00457/0.5837, allocations: 1.445 MB / 0.7726 GB, free: 20.8 MB / 0.5762 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.008565/0.5922, allocations: 6.976 MB / 0.7794 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.5945, allocations: 0.7563 MB / 0.7802 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.5961, allocations: 496.2 kB / 0.7806 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.5972, allocations: 1.266 MB / 0.7819 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.599, allocations: 0.6402 MB / 0.7825 GB, free: 16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.715e-06/0.5991, allocations: 0 / 0.7825 GB, free: 16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.009851/0.6089, allocations: 2.053 MB / 0.7845 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.609, allocations: 328.1 kB / 0.7848 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.6109, allocations: 1.404 MB / 0.7862 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.98e-05/0.611, allocations: 44.42 kB / 0.7862 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.6115, allocations: 0.7159 MB / 0.7869 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.6117, allocations: 249 kB / 0.7872 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/0.6121, allocations: 249.4 kB / 0.7874 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.6121, allocations: 345.6 kB / 0.7877 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.614, allocations: 0.5096 MB / 0.7882 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.616, allocations: 0.8057 MB / 0.789 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.6194, allocations: 1.159 MB / 0.7901 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6194, allocations: 2.406 kB / 0.7901 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00595/0.6254, allocations: 1.633 MB / 0.7917 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.6254, allocations: 43.59 kB / 0.7918 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6254, allocations: 5.062 kB / 0.7918 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.6267, allocations: 370.7 kB / 0.7921 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.6281, allocations: 271 kB / 0.7924 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009609/0.629, allocations: 0.8803 MB / 0.7933 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.6312, allocations: 243.3 kB / 0.7935 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.6314, allocations: 53.08 kB / 0.7935 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002207/0.6336, allocations: 0.8049 MB / 0.7943 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001927/0.6355, allocations: 0.8056 MB / 0.7951 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003345/0.6389, allocations: 1.15 MB / 0.7962 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.6389, allocations: 2.844 kB / 0.7962 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.005899/0.6448, allocations: 1.63 MB / 0.7978 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6448, allocations: 35.61 kB / 0.7979 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.6448, allocations: 6.312 kB / 0.7979 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.646, allocations: 371.7 kB / 0.7982 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6474, allocations: 268.4 kB / 0.7985 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009557/0.6483, allocations: 0.8839 MB / 0.7993 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.6505, allocations: 202.6 kB / 0.7995 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6506, allocations: 53.11 kB / 0.7996 GB, free: 7.461 MB / 0.5762 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.0002922/0.6509, allocations: 252.7 kB / 0.7998 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.6512, allocations: 161.2 kB / 0.8 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.6551, allocations: 1.215 MB / 0.8012 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003238/0.6584, allocations: 1.026 MB / 0.8022 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6584, allocations: 3.984 kB / 0.8022 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.6589, allocations: 364.4 kB / 0.8025 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.6591, allocations: 20.81 kB / 0.8025 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.6607, allocations: 115.6 kB / 0.8026 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6608, allocations: 57.02 kB / 0.8027 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005266/0.6661, allocations: 1.646 MB / 0.8043 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004912/0.671, allocations: 2.046 MB / 0.8063 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001525/0.6726, allocations: 475.4 kB / 0.8068 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001306/0.6739, allocations: 0.9888 MB / 0.8077 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of Backend: time 3.9e-07/0.6739, allocations: 0 / 0.8077 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007073/0.681, allocations: 2.273 MB / 0.8099 GB, free: 316 kB / 0.5762 GB Notification: Performance of SimCode: time 0.00572/0.6867, allocations: 3.579 MB / 0.8134 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.06628/0.753, allocations: 47.45 MB / 0.8598 GB, free: 13.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)