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.001155/0.001155, allocations: 113.2 kB / 16.42 MB, free: 6.441 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.001227/0.001227, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 289.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 100.1 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3818, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1189/0.5008, allocations: 130.8 MB / 0.8948 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03359/0.5344, allocations: 25.08 MB / 0.9193 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.5385, allocations: 143.2 kB / 0.9194 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.5426, allocations: 1.731 MB / 0.9211 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.554, allocations: 4.559 MB / 0.9256 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008308/0.5623, allocations: 3.506 MB / 0.929 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.5735, allocations: 9.023 MB / 0.9378 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004743/0.5783, allocations: 3.195 MB / 0.9409 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/0.5857, allocations: 3.54 MB / 0.9444 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/0.59, allocations: 2.482 MB / 0.9468 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.5913, allocations: 388 kB / 0.9472 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006852/0.5982, allocations: 2.889 MB / 0.95 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.5995, allocations: 0.8877 MB / 0.9509 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.603, allocations: 2.003 MB / 0.9528 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3612/0.9643, allocations: 6.38 MB / 0.9591 GB, free: 60.31 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.9643, allocations: 0.5938 kB / 0.9591 GB, free: 60.31 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9643, allocations: 0.5625 kB / 0.9591 GB, free: 60.31 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001762/0.9645, allocations: 2.656 kB / 0.9591 GB, free: 60.31 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.009722/0.9742, allocations: 4.089 MB / 0.9631 GB, free: 58.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9743, allocations: 9.062 kB / 0.9631 GB, free: 58.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.9851, allocations: 1.286 MB / 0.9643 GB, free: 58.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.991, allocations: 2.989 MB / 0.9672 GB, free: 57.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.9912, allocations: 255.5 kB / 0.9675 GB, free: 57.83 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/0.9917, allocations: 239.6 kB / 0.9677 GB, free: 57.83 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007619/0.9993, allocations: 3.159 MB / 0.9708 GB, free: 57.33 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.9994, allocations: 11.25 kB / 0.9708 GB, free: 57.33 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/0.9997, allocations: 97.97 kB / 0.9709 GB, free: 57.33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.9998, allocations: 67.88 kB / 0.971 GB, free: 57.33 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008319/1.008, allocations: 2.751 MB / 0.9737 GB, free: 57.27 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.01736/1.026, allocations: 13.55 MB / 0.9869 GB, free: 51.06 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/1.029, allocations: 1.4 MB / 0.9883 GB, free: 51.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/1.032, allocations: 0.8571 MB / 0.9891 GB, free: 51.01 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/1.034, allocations: 1.775 MB / 0.9908 GB, free: 49.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003483/1.037, allocations: 1.128 MB / 0.9919 GB, free: 48.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 4.117e-06/1.037, allocations: 2.312 kB / 0.9919 GB, free: 48.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=132): time 0.03113/1.068, allocations: 9.54 MB / 1.001 GB, free: 45.15 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.068, allocations: 0.5757 MB / 1.002 GB, free: 44.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/1.072, allocations: 2.648 MB / 1.004 GB, free: 44.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/1.073, allocations: 63.45 kB / 1.004 GB, free: 44.17 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009897/1.074, allocations: 1.341 MB / 1.006 GB, free: 43.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/1.074, allocations: 460.4 kB / 1.006 GB, free: 43.44 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006445/1.075, allocations: 474.1 kB / 1.007 GB, free: 43.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/1.075, allocations: 303.3 kB / 1.007 GB, free: 43.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003341/1.078, allocations: 0.9388 MB / 1.008 GB, free: 43.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/1.082, allocations: 1.519 MB / 1.009 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006296/1.088, allocations: 2.16 MB / 1.011 GB, free: 41.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.088, allocations: 3.094 kB / 1.011 GB, free: 41.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01121/1.099, allocations: 3.105 MB / 1.014 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/1.099, allocations: 40.8 kB / 1.015 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.099, allocations: 14.19 kB / 1.015 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/1.102, allocations: 0.9042 MB / 1.015 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/1.105, allocations: 470.3 kB / 1.016 GB, free: 41.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.108, allocations: 2.17 MB / 1.018 GB, free: 40.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00468/1.113, allocations: 280.2 kB / 1.018 GB, free: 40.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.113, allocations: 103 kB / 1.018 GB, free: 40.44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004241/1.117, allocations: 1.438 MB / 1.02 GB, free: 40.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003483/1.121, allocations: 1.502 MB / 1.021 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005962/1.126, allocations: 2.136 MB / 1.023 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/1.127, allocations: 4.219 kB / 1.023 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01063/1.137, allocations: 3.067 MB / 1.026 GB, free: 38.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.137, allocations: 40.98 kB / 1.026 GB, free: 38.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.137, allocations: 11.84 kB / 1.026 GB, free: 38.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.14, allocations: 0.9186 MB / 1.027 GB, free: 37.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/1.142, allocations: 461.5 kB / 1.028 GB, free: 37.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/1.145, allocations: 2.165 MB / 1.03 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/1.149, allocations: 294.5 kB / 1.03 GB, free: 35.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.15, allocations: 107.9 kB / 1.03 GB, free: 35.33 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.0006052/1.15, allocations: 297.6 kB / 1.03 GB, free: 35.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006498/1.151, allocations: 284.5 kB / 1.031 GB, free: 34.83 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006939/1.158, allocations: 2.234 MB / 1.033 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0057/1.163, allocations: 1.865 MB / 1.035 GB, free: 31.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.163, allocations: 4 kB / 1.035 GB, free: 31.72 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.165, allocations: 0.5639 MB / 1.035 GB, free: 31.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/1.166, allocations: 35.64 kB / 1.035 GB, free: 31.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.168, allocations: 200.3 kB / 1.036 GB, free: 30.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.169, allocations: 96.17 kB / 1.036 GB, free: 30.82 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00974/1.178, allocations: 3.053 MB / 1.039 GB, free: 27.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009087/1.188, allocations: 3.62 MB / 1.042 GB, free: 24.18 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002686/1.19, allocations: 0.8511 MB / 1.043 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003022/1.193, allocations: 1.839 MB / 1.045 GB, free: 21.5 MB / 0.7169 GB Notification: Performance of Backend: time 6.91e-07/1.193, allocations: 4 kB / 1.045 GB, free: 21.49 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.206, allocations: 3.943 MB / 1.049 GB, free: 17.72 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009796/1.216, allocations: 6.381 MB / 1.055 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of Templates: time 0.1343/1.35, allocations: 90.59 MB / 1.143 GB, free: 2.191 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)