Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4698/0.4698, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.387/1.387, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 105.4 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.655e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4919, allocations: 72.3 MB / 0.5602 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.679, allocations: 389.1 MB / 0.9402 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.679, allocations: 89.22 kB / 0.9403 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.335/5.014, allocations: 1.067 GB / 2.007 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.012e-06/5.014, allocations: 2.375 kB / 2.007 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000268/5.014, allocations: 85.5 kB / 2.007 GB, free: 51.61 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00703/5.021, allocations: 3.176 MB / 2.01 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/5.021, allocations: 7.219 kB / 2.01 GB, free: 49.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009563/5.031, allocations: 1.317 MB / 2.011 GB, free: 49.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/5.039, allocations: 3.314 MB / 2.015 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/5.039, allocations: 247.8 kB / 2.015 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008159/5.04, allocations: 234.5 kB / 2.015 GB, free: 49.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006541/5.046, allocations: 2.84 MB / 2.018 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/5.046, allocations: 7.031 kB / 2.018 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/5.047, allocations: 101 kB / 2.018 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/5.047, allocations: 71.61 kB / 2.018 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/5.051, allocations: 2.161 MB / 2.02 GB, free: 48.52 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.01721/5.068, allocations: 13.52 MB / 2.033 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/5.07, allocations: 1.225 MB / 2.035 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/5.071, allocations: 0.6384 MB / 2.035 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/5.072, allocations: 1.774 MB / 2.037 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/5.073, allocations: 0.9754 MB / 2.038 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 5.009e-06/5.073, allocations: 3.234 kB / 2.038 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.01648/5.09, allocations: 10.11 MB / 2.048 GB, free: 33.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/5.09, allocations: 0.9406 MB / 2.049 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/5.094, allocations: 2.343 MB / 2.051 GB, free: 32.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/5.095, allocations: 66.92 kB / 2.051 GB, free: 32.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/5.096, allocations: 1.359 MB / 2.052 GB, free: 31.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005307/5.097, allocations: 426.7 kB / 2.053 GB, free: 31.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/5.097, allocations: 27.97 kB / 2.053 GB, free: 31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/5.097, allocations: 367.8 kB / 2.053 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/5.098, allocations: 0.6327 MB / 2.054 GB, free: 30.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/5.1, allocations: 1.266 MB / 2.055 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/5.101, allocations: 0.7728 MB / 2.056 GB, free: 29.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/5.101, allocations: 7.906 kB / 2.056 GB, free: 29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004226/5.105, allocations: 2.378 MB / 2.058 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/5.106, allocations: 5.246 MB / 2.063 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/5.106, allocations: 17.23 kB / 2.063 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/5.11, allocations: 1.053 MB / 2.064 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/5.112, allocations: 445.3 kB / 2.065 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/5.114, allocations: 2.204 MB / 2.067 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/5.119, allocations: 440.1 kB / 2.067 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004111/5.12, allocations: 112.2 kB / 2.067 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/5.12, allocations: 3.969 kB / 2.067 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003827/5.124, allocations: 2.094 MB / 2.069 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/5.124, allocations: 11.12 kB / 2.069 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/5.126, allocations: 1.057 MB / 2.071 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/5.129, allocations: 429.4 kB / 2.071 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/5.131, allocations: 2.202 MB / 2.073 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004393/5.135, allocations: 382 kB / 2.073 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/5.135, allocations: 110 kB / 2.074 GB, free: 17.59 MB / 0.6355 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 ($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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005318/5.136, allocations: 216.3 kB / 2.074 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/5.137, allocations: 291.1 kB / 2.074 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/5.142, allocations: 1.764 MB / 2.076 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/5.142, allocations: 14.88 kB / 2.076 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/5.142, allocations: 7.812 kB / 2.076 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003532/5.145, allocations: 1.522 MB / 2.077 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/5.155, allocations: 6.45 MB / 2.084 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/5.155, allocations: 4.812 kB / 2.084 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/5.157, allocations: 279 kB / 2.084 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/5.159, allocations: 0.8908 MB / 2.085 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/5.159, allocations: 49.81 kB / 2.085 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/5.161, allocations: 1.968 MB / 2.087 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.525e-06/5.162, allocations: 11.94 kB / 2.087 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/5.168, allocations: 3.421 MB / 2.09 GB, free: 19.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/5.17, allocations: 0.6638 MB / 2.091 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/5.171, allocations: 32 kB / 2.091 GB, free: 18.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004111/5.175, allocations: 299.6 kB / 2.091 GB, free: 18.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/5.176, allocations: 113.2 kB / 2.091 GB, free: 18.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/5.176, allocations: 70.89 kB / 2.091 GB, free: 18.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003771/5.18, allocations: 1.816 MB / 2.093 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/5.18, allocations: 4 kB / 2.093 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006577/5.186, allocations: 1.654 MB / 2.095 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003223/5.189, allocations: 1.5 MB / 2.096 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005625/5.195, allocations: 2.855 MB / 2.099 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/5.195, allocations: 8.375 kB / 2.099 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/5.197, allocations: 0.8033 MB / 2.1 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007388/5.204, allocations: 1.485 MB / 2.101 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/5.212, allocations: 3.672 MB / 2.105 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/5.214, allocations: 1.78 MB / 2.106 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004568/5.219, allocations: 0.8383 MB / 2.107 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/5.219, allocations: 185.1 kB / 2.107 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/5.219, allocations: 0 / 2.107 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of Templates: time 0.478/5.697, allocations: 84.07 MB / 2.189 GB, free: 59.23 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)