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.001488/0.001488, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.486/0.486, allocations: 92 MB / 108.5 MB, free: 13.07 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.617/1.617, allocations: 223.2 MB / 354.3 MB, free: 12.24 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.0009294/0.0009294, allocations: 103.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003301, allocations: 12 kB / 0.4982 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 72.31 MB / 0.5689 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.316, allocations: 389.2 MB / 0.9489 GB, free: 78.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.316, allocations: 94.88 kB / 0.949 GB, free: 78.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.413/5.729, allocations: 1.07 GB / 2.019 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.166e-06/5.729, allocations: 0 / 2.019 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003752/5.729, allocations: 78.81 kB / 2.019 GB, free: 43.37 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.01167/5.741, allocations: 3.688 MB / 2.023 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/5.741, allocations: 9.844 kB / 2.023 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/5.752, allocations: 1.322 MB / 2.024 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/5.761, allocations: 3.332 MB / 2.027 GB, free: 41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/5.761, allocations: 251.4 kB / 2.027 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/5.762, allocations: 234.6 kB / 2.028 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008613/5.771, allocations: 3.207 MB / 2.031 GB, free: 40.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/5.771, allocations: 12.72 kB / 2.031 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/5.771, allocations: 107.3 kB / 2.031 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-05/5.771, allocations: 72.75 kB / 2.031 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009447/5.781, allocations: 2.877 MB / 2.034 GB, free: 40.38 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.02476/5.805, allocations: 13.51 MB / 2.047 GB, free: 34.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/5.81, allocations: 1.583 MB / 2.049 GB, free: 34.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/5.811, allocations: 1.771 MB / 2.05 GB, free: 32.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/5.815, allocations: 1.26 MB / 2.051 GB, free: 32.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 9.507e-06/5.815, allocations: 0 / 2.051 GB, free: 32.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.06872/5.884, allocations: 16.26 MB / 2.067 GB, free: 25.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/5.884, allocations: 0.9388 MB / 2.068 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/5.888, allocations: 2.427 MB / 2.071 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/5.888, allocations: 59.92 kB / 2.071 GB, free: 24.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/5.89, allocations: 1.362 MB / 2.072 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/5.89, allocations: 432.5 kB / 2.072 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/5.89, allocations: 29.75 kB / 2.072 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001063/5.89, allocations: 368 kB / 2.073 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/5.894, allocations: 0.977 MB / 2.074 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/5.897, allocations: 1.611 MB / 2.075 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/5.901, allocations: 1.11 MB / 2.076 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/5.901, allocations: 3.438 kB / 2.076 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009556/5.911, allocations: 3.128 MB / 2.079 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001024/5.912, allocations: 5.259 MB / 2.085 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/5.912, allocations: 11.41 kB / 2.085 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003493/5.915, allocations: 1.153 MB / 2.086 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/5.918, allocations: 448 kB / 2.086 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/5.921, allocations: 2.383 MB / 2.089 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/5.927, allocations: 433.7 kB / 2.089 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/5.927, allocations: 109.3 kB / 2.089 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/5.927, allocations: 3.625 kB / 2.089 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008799/5.936, allocations: 2.789 MB / 2.092 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/5.936, allocations: 12.81 kB / 2.092 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003358/5.94, allocations: 1.157 MB / 2.093 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/5.942, allocations: 438.4 kB / 2.093 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/5.945, allocations: 2.366 MB / 2.096 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005111/5.951, allocations: 367.2 kB / 2.096 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/5.951, allocations: 106.3 kB / 2.096 GB, free: 14.37 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001956/5.953, allocations: 0.7016 MB / 2.097 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007731/5.954, allocations: 285.7 kB / 2.097 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00967/5.963, allocations: 2.412 MB / 2.099 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/5.963, allocations: 21.89 kB / 2.099 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/5.963, allocations: 6.312 kB / 2.099 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009014/5.972, allocations: 2.191 MB / 2.102 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/5.993, allocations: 7.139 MB / 2.109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/5.993, allocations: 5.828 kB / 2.109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/5.995, allocations: 270.5 kB / 2.109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/5.998, allocations: 1.031 MB / 2.11 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/5.999, allocations: 50.48 kB / 2.11 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/6.002, allocations: 2.147 MB / 2.112 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/6.002, allocations: 7.812 kB / 2.112 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/6.016, allocations: 4.356 MB / 2.116 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/6.019, allocations: 0.662 MB / 2.117 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/6.02, allocations: 35.73 kB / 2.117 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004295/6.024, allocations: 293.1 kB / 2.117 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/6.025, allocations: 112.9 kB / 2.117 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/6.025, allocations: 68.97 kB / 2.117 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004593/6.03, allocations: 1.906 MB / 2.119 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/6.03, allocations: 0 / 2.119 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009626/6.039, allocations: 1.655 MB / 2.121 GB, free: 24.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (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.004168/6.043, allocations: 1.518 MB / 2.122 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01406/6.058, allocations: 3.68 MB / 2.126 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/6.058, allocations: 7.594 kB / 2.126 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/6.062, allocations: 1.086 MB / 2.127 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009111/6.071, allocations: 1.479 MB / 2.128 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/6.086, allocations: 5.812 MB / 2.134 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/6.089, allocations: 1.769 MB / 2.136 GB, free: 19.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004875/6.094, allocations: 0.6613 MB / 2.136 GB, free: 19.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008238/6.095, allocations: 228.5 kB / 2.137 GB, free: 19.85 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/6.095, allocations: 0 / 2.137 GB, free: 19.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.1357/6.23, allocations: 78.28 MB / 2.213 GB, free: 8.738 MB / 0.6667 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)