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 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_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.0009233/0.0009234, allocations: 168.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4394/0.4394, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.271/1.271, allocations: 223.3 MB / 348.4 MB, free: 5 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.0008189/0.0008188, allocations: 107.8 kB / 420.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 15.98 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3174, allocations: 71.02 MB / 0.5594 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8502/1.168, allocations: 386.8 MB / 0.9372 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.168, allocations: 95.19 kB / 0.9373 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.997/4.165, allocations: 1.047 GB / 1.984 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.082e-06/4.166, allocations: 0 / 1.984 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002378/4.166, allocations: 83.09 kB / 1.984 GB, free: 56.95 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.00722/4.173, allocations: 3.652 MB / 1.988 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/4.173, allocations: 11.94 kB / 1.988 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008695/4.182, allocations: 1.322 MB / 1.989 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/4.188, allocations: 3.295 MB / 1.992 GB, free: 54.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/4.188, allocations: 259.7 kB / 1.993 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/4.189, allocations: 235.2 kB / 1.993 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00665/4.195, allocations: 3.228 MB / 1.996 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.692e-05/4.195, allocations: 6.094 kB / 1.996 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002665/4.196, allocations: 104.8 kB / 1.996 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/4.196, allocations: 69.78 kB / 1.996 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008281/4.204, allocations: 2.877 MB / 1.999 GB, free: 53.61 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.02004/4.224, allocations: 13.45 MB / 2.012 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/4.228, allocations: 1.573 MB / 2.014 GB, free: 47.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/4.231, allocations: 0.919 MB / 2.015 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/4.232, allocations: 1.778 MB / 2.016 GB, free: 45.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003128/4.235, allocations: 1.267 MB / 2.018 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/4.235, allocations: 3.75 kB / 2.018 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=124): time 0.0569/4.292, allocations: 16.34 MB / 2.034 GB, free: 38.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/4.293, allocations: 0.9389 MB / 2.034 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/4.296, allocations: 2.614 MB / 2.037 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/4.297, allocations: 62.67 kB / 2.037 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/4.298, allocations: 1.354 MB / 2.038 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/4.298, allocations: 424.3 kB / 2.039 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/4.298, allocations: 34.12 kB / 2.039 GB, free: 36.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001048/4.299, allocations: 368.3 kB / 2.039 GB, free: 36.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003357/4.302, allocations: 0.9817 MB / 2.04 GB, free: 36.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/4.306, allocations: 1.636 MB / 2.042 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/4.312, allocations: 2.243 MB / 2.044 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/4.312, allocations: 6.531 kB / 2.044 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008987/4.321, allocations: 3.135 MB / 2.047 GB, free: 34.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/4.321, allocations: 489.8 kB / 2.047 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/4.321, allocations: 14.94 kB / 2.047 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/4.324, allocations: 1.153 MB / 2.049 GB, free: 34.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/4.327, allocations: 464.1 kB / 2.049 GB, free: 34.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/4.33, allocations: 2.367 MB / 2.051 GB, free: 32.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/4.335, allocations: 428.2 kB / 2.052 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/4.335, allocations: 113.2 kB / 2.052 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/4.335, allocations: 3.906 kB / 2.052 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007948/4.343, allocations: 2.805 MB / 2.055 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/4.343, allocations: 19.16 kB / 2.055 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/4.347, allocations: 1.162 MB / 2.056 GB, free: 32.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/4.349, allocations: 440.9 kB / 2.056 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/4.352, allocations: 2.37 MB / 2.058 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/4.356, allocations: 373.1 kB / 2.059 GB, free: 31.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/4.356, allocations: 105 kB / 2.059 GB, free: 31.45 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 (150): * Single equations (assignments): 147 * 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.001572/4.358, allocations: 0.7018 MB / 2.06 GB, free: 31.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/4.359, allocations: 289.8 kB / 2.06 GB, free: 31.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008584/4.367, allocations: 2.432 MB / 2.062 GB, free: 30.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/4.367, allocations: 16.09 kB / 2.062 GB, free: 30.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/4.367, allocations: 5.688 kB / 2.062 GB, free: 30.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007521/4.375, allocations: 2.194 MB / 2.064 GB, free: 30.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/4.395, allocations: 7.707 MB / 2.072 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/4.395, allocations: 7.125 kB / 2.072 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/4.397, allocations: 290.2 kB / 2.072 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002926/4.399, allocations: 1.018 MB / 2.073 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/4.4, allocations: 46.7 kB / 2.073 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/4.402, allocations: 2.158 MB / 2.075 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/4.402, allocations: 7.281 kB / 2.075 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/4.419, allocations: 4.314 MB / 2.08 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/4.421, allocations: 0.6403 MB / 2.08 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/4.422, allocations: 46.97 kB / 2.08 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/4.425, allocations: 291.1 kB / 2.081 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/4.425, allocations: 116.7 kB / 2.081 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/4.425, allocations: 70.88 kB / 2.081 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002731/4.428, allocations: 1.814 MB / 2.083 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.11e-07/4.428, allocations: 0 / 2.083 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00431/4.432, allocations: 1.584 MB / 2.084 GB, free: 20.63 MB / 0.6355 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 (78): * Single equations (assignments): 72 * 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.002069/4.434, allocations: 1.397 MB / 2.085 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01028/4.445, allocations: 3.698 MB / 2.089 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/4.445, allocations: 8.375 kB / 2.089 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003184/4.448, allocations: 1.091 MB / 2.09 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/4.456, allocations: 1.574 MB / 2.092 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/4.466, allocations: 5.816 MB / 2.097 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/4.467, allocations: 1.713 MB / 2.099 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003223/4.47, allocations: 0.6594 MB / 2.1 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/4.47, allocations: 245.2 kB / 2.1 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/4.47, allocations: 2.344 kB / 2.1 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of Templates: time 0.4142/4.885, allocations: 81.25 MB / 2.179 GB, free: 66.22 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)