Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009374/0.0009376, allocations: 168.6 kB / 16.76 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4486/0.4486, allocations: 86.28 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 348.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007972, allocations: 94.97 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 15.98 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3187, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7986/1.117, allocations: 386.7 MB / 0.937 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/1.118, allocations: 95.89 kB / 0.9371 GB, free: 231.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.912/4.03, allocations: 1.046 GB / 1.984 GB, free: 54.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/4.03, allocations: 0 / 1.984 GB, free: 54.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003644/4.03, allocations: 80.55 kB / 1.984 GB, free: 54.92 MB / 0.6355 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.009914/4.04, allocations: 3.667 MB / 1.987 GB, free: 53.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/4.04, allocations: 8.312 kB / 1.987 GB, free: 53.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008809/4.049, allocations: 1.321 MB / 1.989 GB, free: 52.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/4.057, allocations: 3.314 MB / 1.992 GB, free: 52.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/4.057, allocations: 253.2 kB / 1.992 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008624/4.058, allocations: 236.9 kB / 1.992 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009561/4.067, allocations: 3.22 MB / 1.995 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/4.067, allocations: 6.906 kB / 1.995 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005635/4.068, allocations: 109 kB / 1.995 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/4.068, allocations: 70.59 kB / 1.996 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009152/4.077, allocations: 2.876 MB / 1.998 GB, free: 51.68 MB / 0.6355 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.01934/4.097, allocations: 13.27 MB / 2.011 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/4.101, allocations: 1.586 MB / 2.013 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/4.104, allocations: 0.9554 MB / 2.014 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/4.105, allocations: 1.775 MB / 2.016 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00312/4.108, allocations: 1.279 MB / 2.017 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=122): time 3.316e-06/4.109, allocations: 2.812 kB / 2.017 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.03628/4.145, allocations: 6.161 MB / 2.023 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/4.145, allocations: 0.9419 MB / 2.024 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/4.15, allocations: 2.516 MB / 2.026 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003827/4.15, allocations: 61.05 kB / 2.026 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/4.152, allocations: 1.354 MB / 2.028 GB, free: 41.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/4.152, allocations: 431.3 kB / 2.028 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/4.152, allocations: 38.66 kB / 2.028 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/4.152, allocations: 372.5 kB / 2.028 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/4.156, allocations: 0.998 MB / 2.029 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/4.16, allocations: 1.625 MB / 2.031 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/4.166, allocations: 2.255 MB / 2.033 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/4.166, allocations: 3.938 kB / 2.033 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01665/4.183, allocations: 3.642 MB / 2.037 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/4.183, allocations: 483.7 kB / 2.037 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/4.183, allocations: 13.31 kB / 2.037 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/4.186, allocations: 0.948 MB / 2.038 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/4.189, allocations: 489.8 kB / 2.039 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/4.192, allocations: 1.986 MB / 2.04 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/4.197, allocations: 0.5258 MB / 2.041 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/4.197, allocations: 103.8 kB / 2.041 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/4.197, allocations: 2.812 kB / 2.041 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01518/4.212, allocations: 3.325 MB / 2.044 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/4.212, allocations: 15.05 kB / 2.044 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/4.215, allocations: 0.9506 MB / 2.045 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/4.218, allocations: 470.9 kB / 2.046 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/4.22, allocations: 1.994 MB / 2.048 GB, free: 35.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/4.225, allocations: 458.2 kB / 2.048 GB, free: 35.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/4.225, allocations: 101.6 kB / 2.048 GB, free: 35.38 MB / 0.6355 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002176/4.228, allocations: 0.7063 MB / 2.049 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/4.229, allocations: 277.5 kB / 2.049 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/4.244, allocations: 2.936 MB / 2.052 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/4.244, allocations: 17.62 kB / 2.052 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/4.244, allocations: 7.719 kB / 2.052 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01403/4.258, allocations: 2.715 MB / 2.055 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/4.279, allocations: 7.623 MB / 2.062 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/4.279, allocations: 5.844 kB / 2.062 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/4.281, allocations: 297.5 kB / 2.062 GB, free: 31.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/4.284, allocations: 0.934 MB / 2.063 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/4.284, allocations: 56.89 kB / 2.063 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/4.287, allocations: 1.973 MB / 2.065 GB, free: 30.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/4.287, allocations: 16.25 kB / 2.065 GB, free: 30.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/4.297, allocations: 3.669 MB / 2.069 GB, free: 28.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/4.299, allocations: 0.649 MB / 2.07 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/4.3, allocations: 38.88 kB / 2.07 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/4.304, allocations: 294 kB / 2.07 GB, free: 28.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/4.304, allocations: 120.1 kB / 2.07 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/4.305, allocations: 76.44 kB / 2.07 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003654/4.308, allocations: 1.738 MB / 2.072 GB, free: 27.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/4.308, allocations: 4 kB / 2.072 GB, free: 27.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006601/4.315, allocations: 1.782 MB / 2.074 GB, free: 26.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002914/4.318, allocations: 1.394 MB / 2.075 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01124/4.329, allocations: 3.651 MB / 2.078 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/4.329, allocations: 4.719 kB / 2.078 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/4.333, allocations: 1.1 MB / 2.08 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/4.343, allocations: 1.439 MB / 2.081 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/4.355, allocations: 5.954 MB / 2.087 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/4.357, allocations: 1.708 MB / 2.088 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0044/4.362, allocations: 0.6905 MB / 2.089 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/4.363, allocations: 247.8 kB / 2.089 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/4.363, allocations: 0 / 2.089 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.441/4.804, allocations: 75.82 MB / 2.163 GB, free: 59.21 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)