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.000928/0.0009282, allocations: 175.5 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.489/0.489, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 89.3 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.944e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 72.31 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.338, allocations: 388.5 MB / 0.9329 GB, free: 92.49 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/1.338, allocations: 92.14 kB / 0.933 GB, free: 92.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.823/5.162, allocations: 1.061 GB / 1.994 GB, free: 47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.022e-06/5.162, allocations: 0 / 1.994 GB, free: 47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004155/5.162, allocations: 81.69 kB / 1.995 GB, free: 46.99 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.008251/5.17, allocations: 3.19 MB / 1.998 GB, free: 45.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/5.171, allocations: 8.594 kB / 1.998 GB, free: 45.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/5.18, allocations: 1.313 MB / 1.999 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/5.187, allocations: 3.314 MB / 2.002 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/5.188, allocations: 166.2 kB / 2.002 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007699/5.188, allocations: 140.3 kB / 2.002 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004398/5.193, allocations: 2.023 MB / 2.004 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/5.198, allocations: 2.508 MB / 2.007 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.168e-05/5.198, allocations: 1.969 kB / 2.007 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/5.198, allocations: 6.938 kB / 2.007 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/5.198, allocations: 76.02 kB / 2.007 GB, free: 44.34 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.01774/5.216, allocations: 12.97 MB / 2.02 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/5.218, allocations: 1.172 MB / 2.021 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/5.218, allocations: 0.6087 MB / 2.021 GB, free: 38.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/5.22, allocations: 1.782 MB / 2.023 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/5.221, allocations: 0.9379 MB / 2.024 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 5.289e-06/5.221, allocations: 0 / 2.024 GB, free: 36.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.02236/5.243, allocations: 10.55 MB / 2.034 GB, free: 30.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/5.243, allocations: 0.9412 MB / 2.035 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/5.246, allocations: 1.844 MB / 2.037 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/5.246, allocations: 39.41 kB / 2.037 GB, free: 28.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000945/5.247, allocations: 1.377 MB / 2.038 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/5.247, allocations: 410.5 kB / 2.039 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/5.248, allocations: 0 / 2.039 GB, free: 27.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/5.248, allocations: 364.8 kB / 2.039 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/5.249, allocations: 0.6037 MB / 2.04 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/5.25, allocations: 1.217 MB / 2.041 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/5.253, allocations: 0.9662 MB / 2.042 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/5.253, allocations: 4.719 kB / 2.042 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005824/5.259, allocations: 2.406 MB / 2.044 GB, free: 26.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008784/5.26, allocations: 5.129 MB / 2.049 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/5.26, allocations: 11.25 kB / 2.049 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/5.262, allocations: 0.8933 MB / 2.05 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/5.264, allocations: 449.2 kB / 2.051 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/5.267, allocations: 2.32 MB / 2.053 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/5.271, allocations: 379.3 kB / 2.053 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/5.271, allocations: 111.9 kB / 2.053 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/5.271, allocations: 3.875 kB / 2.053 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005214/5.277, allocations: 2.12 MB / 2.055 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/5.277, allocations: 11.38 kB / 2.055 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/5.278, allocations: 0.8936 MB / 2.056 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/5.28, allocations: 428.5 kB / 2.057 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/5.283, allocations: 2.322 MB / 2.059 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/5.287, allocations: 316.3 kB / 2.059 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/5.287, allocations: 103.8 kB / 2.059 GB, free: 18.9 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.0004582/5.288, allocations: 163.6 kB / 2.06 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/5.288, allocations: 246.2 kB / 2.06 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/5.294, allocations: 1.887 MB / 2.062 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/5.294, allocations: 18.33 kB / 2.062 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/5.294, allocations: 10.84 kB / 2.062 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00537/5.3, allocations: 1.701 MB / 2.063 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/5.31, allocations: 6.267 MB / 2.069 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/5.31, allocations: 3.781 kB / 2.069 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/5.311, allocations: 274 kB / 2.07 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/5.313, allocations: 0.777 MB / 2.07 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/5.313, allocations: 37.7 kB / 2.07 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/5.315, allocations: 2.08 MB / 2.072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/5.315, allocations: 17.22 kB / 2.072 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007287/5.322, allocations: 3.41 MB / 2.076 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/5.324, allocations: 0.6107 MB / 2.076 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/5.324, allocations: 25.17 kB / 2.076 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/5.327, allocations: 258.8 kB / 2.077 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/5.328, allocations: 110.3 kB / 2.077 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/5.328, allocations: 75.42 kB / 2.077 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001919/5.33, allocations: 1.381 MB / 2.078 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/5.33, allocations: 0 / 2.078 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004961/5.335, allocations: 1.559 MB / 2.08 GB, free: 13.54 MB / 0.6355 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.002617/5.337, allocations: 1.489 MB / 2.081 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004274/5.342, allocations: 2.692 MB / 2.084 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/5.342, allocations: 4.594 kB / 2.084 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/5.343, allocations: 0.7702 MB / 2.085 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/5.348, allocations: 1.072 MB / 2.086 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/5.355, allocations: 3.535 MB / 2.089 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/5.356, allocations: 1.772 MB / 2.091 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003685/5.36, allocations: 0.7064 MB / 2.091 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/5.36, allocations: 168.2 kB / 2.092 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/5.36, allocations: 4 kB / 2.092 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.08764/5.448, allocations: 66.57 MB / 2.157 GB, free: 6.504 MB / 0.6355 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)