Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001411/0.001411, allocations: 119 kB / 16.42 MB, free: 6.473 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.001474/0.001474, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 289.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3948, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06601/0.4608, allocations: 69.96 MB / 0.8354 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.4807, allocations: 14.5 MB / 0.8495 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.4831, allocations: 75.56 kB / 0.8496 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.4853, allocations: 0.916 MB / 0.8505 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.4918, allocations: 2.565 MB / 0.853 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.4969, allocations: 1.989 MB / 0.855 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0061/0.5031, allocations: 4.72 MB / 0.8596 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.5056, allocations: 1.63 MB / 0.8612 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.5097, allocations: 1.831 MB / 0.8629 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.512, allocations: 1.293 MB / 0.8642 GB, free: 52 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.5125, allocations: 200 kB / 0.8644 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004359/0.5169, allocations: 1.974 MB / 0.8663 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006913/0.5176, allocations: 478.4 kB / 0.8668 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.5194, allocations: 1.035 MB / 0.8678 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.5254, allocations: 3.548 MB / 0.8713 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5254, allocations: 0 / 0.8713 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5254, allocations: 0 / 0.8713 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.917e-05/0.5255, allocations: 0 / 0.8713 GB, free: 8.816 MB / 0.6387 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.005009/0.5305, allocations: 2.356 MB / 0.8736 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5306, allocations: 12.02 kB / 0.8736 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.5359, allocations: 0.6504 MB / 0.8742 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.5389, allocations: 1.592 MB / 0.8758 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5391, allocations: 124 kB / 0.8759 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.5394, allocations: 139.8 kB / 0.876 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.5437, allocations: 1.621 MB / 0.8776 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.5438, allocations: 4 kB / 0.8776 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.5439, allocations: 52 kB / 0.8776 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.544, allocations: 39.94 kB / 0.8777 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/0.5489, allocations: 1.437 MB / 0.8791 GB, free: 0.5586 MB / 0.6387 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.01093/0.5599, allocations: 6.946 MB / 0.8859 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.5624, allocations: 0.7546 MB / 0.8866 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5641, allocations: 493.3 kB / 0.8871 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.5654, allocations: 1.27 MB / 0.8883 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/0.5675, allocations: 0.644 MB / 0.8889 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 3.626e-06/0.5675, allocations: 0 / 0.8889 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.01046/0.578, allocations: 2.045 MB / 0.8909 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5781, allocations: 324.9 kB / 0.8913 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.5808, allocations: 1.403 MB / 0.8926 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.581, allocations: 49.69 kB / 0.8927 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.5818, allocations: 0.6958 MB / 0.8933 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.5821, allocations: 248.5 kB / 0.8936 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/0.5825, allocations: 246.3 kB / 0.8938 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5827, allocations: 345.9 kB / 0.8942 GB, free: 332 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.5847, allocations: 0.5044 MB / 0.8946 GB, free: 15.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.5869, allocations: 0.8061 MB / 0.8954 GB, free: 14.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003792/0.5907, allocations: 1.162 MB / 0.8966 GB, free: 13.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5908, allocations: 0 / 0.8966 GB, free: 13.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006735/0.5975, allocations: 1.642 MB / 0.8982 GB, free: 11.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.5976, allocations: 33.7 kB / 0.8982 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5976, allocations: 4 kB / 0.8982 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.599, allocations: 364.7 kB / 0.8986 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.6005, allocations: 267.5 kB / 0.8988 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.6017, allocations: 0.8863 MB / 0.8997 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.6042, allocations: 226.7 kB / 0.8999 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6044, allocations: 63.88 kB / 0.9 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002619/0.607, allocations: 0.797 MB / 0.9007 GB, free: 9.328 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002178/0.6092, allocations: 0.8061 MB / 0.9015 GB, free: 8.398 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003652/0.6129, allocations: 1.162 MB / 0.9027 GB, free: 7.145 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.6129, allocations: 0 / 0.9027 GB, free: 7.145 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006687/0.6196, allocations: 1.618 MB / 0.9042 GB, free: 5.508 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.6196, allocations: 41.69 kB / 0.9043 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6196, allocations: 7.938 kB / 0.9043 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.6209, allocations: 366.3 kB / 0.9046 GB, free: 5.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.6224, allocations: 263.5 kB / 0.9049 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.6236, allocations: 0.8764 MB / 0.9057 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.626, allocations: 215 kB / 0.9059 GB, free: 3.727 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.6261, allocations: 55.94 kB / 0.906 GB, free: 3.672 MB / 0.67 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.0003629/0.6265, allocations: 251.5 kB / 0.9062 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.627, allocations: 154.2 kB / 0.9064 GB, free: 3.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/0.6313, allocations: 1.219 MB / 0.9076 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003504/0.6349, allocations: 1.033 MB / 0.9086 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.6349, allocations: 0 / 0.9086 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/0.6356, allocations: 347.1 kB / 0.9089 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/0.636, allocations: 16 kB / 0.9089 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.6377, allocations: 119.8 kB / 0.909 GB, free: 492 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6379, allocations: 52.48 kB / 0.9091 GB, free: 440 kB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005774/0.6437, allocations: 1.642 MB / 0.9107 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005726/0.6494, allocations: 2.057 MB / 0.9127 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001704/0.6511, allocations: 468.1 kB / 0.9131 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001912/0.6531, allocations: 0.9856 MB / 0.9141 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of Backend: time 3.8e-07/0.6531, allocations: 0 / 0.9141 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008157/0.6612, allocations: 2.278 MB / 0.9163 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of SimCode: time 0.006815/0.6681, allocations: 3.5 MB / 0.9198 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of Templates: time 0.3848/1.053, allocations: 47.48 MB / 0.9661 GB, free: 178.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)