Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 114.4 kB / 16.42 MB, free: 6.457 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.001071/0.001071, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 294.5 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.9639/0.9639, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 87.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3885, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1219/0.5105, allocations: 130.8 MB / 0.8948 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03327/0.5438, allocations: 25.09 MB / 0.9193 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/0.5479, allocations: 143.1 kB / 0.9194 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.5522, allocations: 1.782 MB / 0.9212 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.5635, allocations: 4.779 MB / 0.9259 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007932/0.5715, allocations: 3.519 MB / 0.9293 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.5816, allocations: 9.057 MB / 0.9381 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/0.5861, allocations: 3.199 MB / 0.9413 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006947/0.5931, allocations: 3.546 MB / 0.9447 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/0.5968, allocations: 2.478 MB / 0.9471 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008701/0.5977, allocations: 391.9 kB / 0.9475 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.6039, allocations: 2.893 MB / 0.9503 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.6051, allocations: 0.8877 MB / 0.9512 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002814/0.6079, allocations: 1.995 MB / 0.9532 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3636/0.9715, allocations: 6.379 MB / 0.9594 GB, free: 60.46 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9715, allocations: 0 / 0.9594 GB, free: 60.46 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9715, allocations: 0.5625 kB / 0.9594 GB, free: 60.46 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001428/0.9717, allocations: 0 / 0.9594 GB, free: 60.46 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008373/0.98, allocations: 4.098 MB / 0.9634 GB, free: 58.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9801, allocations: 8.938 kB / 0.9634 GB, free: 58.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.9904, allocations: 1.283 MB / 0.9646 GB, free: 58.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.9952, allocations: 2.982 MB / 0.9676 GB, free: 58.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.9955, allocations: 253.1 kB / 0.9678 GB, free: 57.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.9959, allocations: 241.2 kB / 0.968 GB, free: 57.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006989/1.003, allocations: 3.159 MB / 0.9711 GB, free: 57.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/1.003, allocations: 11.25 kB / 0.9711 GB, free: 57.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/1.003, allocations: 105.9 kB / 0.9712 GB, free: 57.47 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/1.003, allocations: 66.47 kB / 0.9713 GB, free: 57.47 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008107/1.011, allocations: 2.75 MB / 0.974 GB, free: 57.42 MB / 0.7169 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.01594/1.027, allocations: 13.54 MB / 0.9872 GB, free: 51.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/1.031, allocations: 1.411 MB / 0.9886 GB, free: 51.17 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002813/1.034, allocations: 0.8524 MB / 0.9894 GB, free: 51.15 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.035, allocations: 1.776 MB / 0.9911 GB, free: 49.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003264/1.039, allocations: 1.123 MB / 0.9922 GB, free: 48.99 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.486e-06/1.039, allocations: 0 / 0.9922 GB, free: 48.99 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.02987/1.069, allocations: 9.541 MB / 1.002 GB, free: 45.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.069, allocations: 0.584 MB / 1.002 GB, free: 44.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/1.072, allocations: 2.643 MB / 1.005 GB, free: 44.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.072, allocations: 60.89 kB / 1.005 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/1.073, allocations: 1.345 MB / 1.006 GB, free: 43.87 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/1.074, allocations: 462.3 kB / 1.007 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/1.074, allocations: 468.8 kB / 1.007 GB, free: 43.54 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/1.075, allocations: 305.7 kB / 1.007 GB, free: 43.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.078, allocations: 0.9328 MB / 1.008 GB, free: 43.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/1.082, allocations: 1.521 MB / 1.01 GB, free: 42.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/1.088, allocations: 2.164 MB / 1.012 GB, free: 42.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.088, allocations: 2.906 kB / 1.012 GB, free: 42.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01065/1.099, allocations: 3.099 MB / 1.015 GB, free: 41.76 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.099, allocations: 40.52 kB / 1.015 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.099, allocations: 16.94 kB / 1.015 GB, free: 41.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/1.102, allocations: 0.9118 MB / 1.016 GB, free: 41.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.104, allocations: 462.5 kB / 1.016 GB, free: 41.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/1.107, allocations: 2.177 MB / 1.018 GB, free: 40.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.111, allocations: 279 kB / 1.019 GB, free: 40.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/1.111, allocations: 111.1 kB / 1.019 GB, free: 40.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004094/1.115, allocations: 1.427 MB / 1.02 GB, free: 40.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003567/1.119, allocations: 1.507 MB / 1.022 GB, free: 39.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006071/1.125, allocations: 2.127 MB / 1.024 GB, free: 39.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-06/1.125, allocations: 3.219 kB / 1.024 GB, free: 39.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01055/1.136, allocations: 3.069 MB / 1.027 GB, free: 38.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.136, allocations: 43.34 kB / 1.027 GB, free: 38.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.136, allocations: 11.91 kB / 1.027 GB, free: 38.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/1.138, allocations: 0.9168 MB / 1.028 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/1.141, allocations: 465.6 kB / 1.028 GB, free: 37.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/1.143, allocations: 2.164 MB / 1.03 GB, free: 35.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.148, allocations: 294.1 kB / 1.03 GB, free: 35.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.148, allocations: 103 kB / 1.031 GB, free: 35.44 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,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 (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007083/1.149, allocations: 303.8 kB / 1.031 GB, free: 35.21 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/1.149, allocations: 280.6 kB / 1.031 GB, free: 34.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006994/1.156, allocations: 2.236 MB / 1.033 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005817/1.162, allocations: 1.859 MB / 1.035 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.162, allocations: 0 / 1.035 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.163, allocations: 0.5678 MB / 1.036 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/1.164, allocations: 32 kB / 1.036 GB, free: 31.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/1.167, allocations: 199.7 kB / 1.036 GB, free: 31.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.167, allocations: 110.9 kB / 1.036 GB, free: 31.01 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009997/1.177, allocations: 3.06 MB / 1.039 GB, free: 28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009288/1.186, allocations: 3.618 MB / 1.042 GB, free: 24.36 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00273/1.189, allocations: 0.8375 MB / 1.043 GB, free: 23.53 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002603/1.192, allocations: 1.839 MB / 1.045 GB, free: 21.69 MB / 0.7169 GB Notification: Performance of Backend: time 4.3e-07/1.192, allocations: 0 / 1.045 GB, free: 21.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.204, allocations: 3.96 MB / 1.049 GB, free: 17.91 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01001/1.214, allocations: 6.375 MB / 1.055 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.1284/1.343, allocations: 90.58 MB / 1.144 GB, free: 2.395 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)