Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001284/0.001284, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.307/1.307, allocations: 222.9 MB / 241 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.002112/0.002112, allocations: 285.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 91.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3851, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1289/0.514, allocations: 130.9 MB / 0.8949 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03415/0.5482, allocations: 25 MB / 0.9193 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.5525, allocations: 135.2 kB / 0.9194 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004673/0.5571, allocations: 1.735 MB / 0.9211 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.5707, allocations: 4.507 MB / 0.9255 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008804/0.5795, allocations: 3.513 MB / 0.9289 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.5906, allocations: 9.055 MB / 0.9378 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/0.5954, allocations: 3.207 MB / 0.9409 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006916/0.6023, allocations: 3.538 MB / 0.9444 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.6064, allocations: 2.482 MB / 0.9468 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009868/0.6074, allocations: 392 kB / 0.9472 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006335/0.6137, allocations: 2.894 MB / 0.95 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.615, allocations: 0.8838 MB / 0.9509 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.6181, allocations: 1.995 MB / 0.9528 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3671/0.9852, allocations: 6.383 MB / 0.959 GB, free: 60.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9853, allocations: 3.812 kB / 0.959 GB, free: 60.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9853, allocations: 2.75 kB / 0.959 GB, free: 60.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001473/0.9854, allocations: 0 / 0.959 GB, free: 60.52 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008959/0.9944, allocations: 4.07 MB / 0.963 GB, free: 58.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.9945, allocations: 9.141 kB / 0.963 GB, free: 58.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/1.008, allocations: 1.38 MB / 0.9644 GB, free: 58.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005631/1.013, allocations: 2.995 MB / 0.9673 GB, free: 58.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/1.014, allocations: 253.8 kB / 0.9675 GB, free: 58.04 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004895/1.014, allocations: 238.6 kB / 0.9678 GB, free: 58.04 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/1.022, allocations: 3.193 MB / 0.9709 GB, free: 57.55 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.636e-05/1.022, allocations: 6.25 kB / 0.9709 GB, free: 57.55 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/1.022, allocations: 106 kB / 0.971 GB, free: 57.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.292e-05/1.023, allocations: 66.78 kB / 0.9711 GB, free: 57.55 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008919/1.031, allocations: 2.835 MB / 0.9738 GB, free: 57.48 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.01801/1.05, allocations: 13.4 MB / 0.9869 GB, free: 51.56 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/1.054, allocations: 1.496 MB / 0.9884 GB, free: 51.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.057, allocations: 0.9415 MB / 0.9893 GB, free: 51.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.058, allocations: 1.776 MB / 0.991 GB, free: 49.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003706/1.062, allocations: 1.209 MB / 0.9922 GB, free: 49.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.807e-06/1.062, allocations: 7.281 kB / 0.9922 GB, free: 49.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.04087/1.103, allocations: 5.83 MB / 0.9979 GB, free: 48.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.103, allocations: 0.5747 MB / 0.9985 GB, free: 48.06 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/1.107, allocations: 2.538 MB / 1.001 GB, free: 47.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004376/1.107, allocations: 67.23 kB / 1.001 GB, free: 47.78 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/1.108, allocations: 1.337 MB / 1.002 GB, free: 47.31 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/1.109, allocations: 449.5 kB / 1.003 GB, free: 47.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/1.109, allocations: 473.3 kB / 1.003 GB, free: 46.99 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/1.109, allocations: 301.1 kB / 1.003 GB, free: 46.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/1.113, allocations: 1.01 MB / 1.004 GB, free: 46.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003835/1.117, allocations: 1.589 MB / 1.006 GB, free: 46.01 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/1.123, allocations: 2.272 MB / 1.008 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.123, allocations: 3.562 kB / 1.008 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02249/1.146, allocations: 4.116 MB / 1.012 GB, free: 45.13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/1.146, allocations: 40.78 kB / 1.012 GB, free: 45.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.146, allocations: 19.5 kB / 1.012 GB, free: 45.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/1.149, allocations: 0.9474 MB / 1.013 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.152, allocations: 499.8 kB / 1.014 GB, free: 45.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/1.155, allocations: 1.976 MB / 1.016 GB, free: 43.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.159, allocations: 443.7 kB / 1.016 GB, free: 43.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/1.16, allocations: 110.4 kB / 1.016 GB, free: 43.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00422/1.164, allocations: 1.505 MB / 1.018 GB, free: 43.44 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003706/1.168, allocations: 1.57 MB / 1.019 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006534/1.174, allocations: 2.233 MB / 1.021 GB, free: 41.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.124e-05/1.174, allocations: 3.938 kB / 1.021 GB, free: 41.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.0216/1.196, allocations: 4.091 MB / 1.025 GB, free: 39.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.196, allocations: 41.77 kB / 1.025 GB, free: 39.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.196, allocations: 12 kB / 1.025 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.199, allocations: 0.942 MB / 1.026 GB, free: 38.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/1.201, allocations: 490.7 kB / 1.027 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/1.204, allocations: 1.985 MB / 1.029 GB, free: 36.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/1.208, allocations: 381.2 kB / 1.029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/1.209, allocations: 113.7 kB / 1.029 GB, free: 36.35 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/1.209, allocations: 298.7 kB / 1.03 GB, free: 36.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/1.21, allocations: 276.7 kB / 1.03 GB, free: 35.85 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.22, allocations: 2.516 MB / 1.032 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009277/1.229, allocations: 2.127 MB / 1.034 GB, free: 32.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.229, allocations: 4 kB / 1.034 GB, free: 32.37 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.231, allocations: 0.5832 MB / 1.035 GB, free: 31.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/1.231, allocations: 28 kB / 1.035 GB, free: 31.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.234, allocations: 213.5 kB / 1.035 GB, free: 31.63 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.234, allocations: 108.2 kB / 1.035 GB, free: 31.53 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01139/1.246, allocations: 3.292 MB / 1.038 GB, free: 28.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00929/1.255, allocations: 3.758 MB / 1.042 GB, free: 24.52 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002737/1.258, allocations: 0.8936 MB / 1.043 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002359/1.26, allocations: 1.766 MB / 1.045 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of Backend: time 3.71e-07/1.26, allocations: 0 / 1.045 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.273, allocations: 4.003 MB / 1.049 GB, free: 18.01 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009342/1.282, allocations: 6.275 MB / 1.055 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.123/1.405, allocations: 89.38 MB / 1.142 GB, free: 3.758 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)