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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 116.1 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 193.8 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 70.14 kB / 0.5583 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.5689/0.7327, allocations: 130.8 MB / 0.7605 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03698/0.7698, allocations: 25 MB / 0.7849 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007377/0.7772, allocations: 139.3 kB / 0.785 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005765/0.783, allocations: 1.733 MB / 0.7867 GB, free: 28.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0154/0.7985, allocations: 4.502 MB / 0.7911 GB, free: 27.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009923/0.8084, allocations: 3.517 MB / 0.7946 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01267/0.8211, allocations: 8.968 MB / 0.8033 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004593/0.8257, allocations: 3.198 MB / 0.8065 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007968/0.8337, allocations: 3.516 MB / 0.8099 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004912/0.8386, allocations: 2.475 MB / 0.8123 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.8399, allocations: 389.1 kB / 0.8127 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008815/0.8487, allocations: 2.892 MB / 0.8155 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.8503, allocations: 0.8875 MB / 0.8164 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004528/0.8548, allocations: 1.983 MB / 0.8183 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.8672, allocations: 6.349 MB / 0.8245 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8673, allocations: 0 / 0.8245 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8673, allocations: 0 / 0.8245 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001545/0.8674, allocations: 0 / 0.8245 GB, free: 7.633 MB / 0.5762 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.007812/0.8753, allocations: 4.078 MB / 0.8285 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8753, allocations: 12.03 kB / 0.8285 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.8856, allocations: 1.386 MB / 0.8298 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.8906, allocations: 2.979 MB / 0.8328 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.8909, allocations: 255.9 kB / 0.833 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003757/0.8913, allocations: 235.9 kB / 0.8332 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.8985, allocations: 3.193 MB / 0.8363 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.8986, allocations: 7.938 kB / 0.8364 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/0.8989, allocations: 104 kB / 0.8365 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/0.8989, allocations: 67.92 kB / 0.8365 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008629/0.9076, allocations: 2.834 MB / 0.8393 GB, free: 8.207 MB / 0.5919 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.02008/0.9277, allocations: 13.59 MB / 0.8526 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/0.9319, allocations: 1.473 MB / 0.854 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.935, allocations: 0.9125 MB / 0.8549 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00181/0.9368, allocations: 1.778 MB / 0.8566 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003592/0.9404, allocations: 1.192 MB / 0.8578 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.747e-06/0.9404, allocations: 3.938 kB / 0.8578 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=132): time 0.05342/0.9938, allocations: 11.66 MB / 0.8692 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003115/0.9942, allocations: 0.5805 MB / 0.8697 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.9986, allocations: 2.635 MB / 0.8723 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.9991, allocations: 61.7 kB / 0.8724 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/1, allocations: 1.32 MB / 0.8737 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/1.001, allocations: 461.5 kB / 0.8741 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/1.002, allocations: 470.8 kB / 0.8746 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.002, allocations: 301.1 kB / 0.8748 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/1.006, allocations: 0.9923 MB / 0.8758 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004307/1.01, allocations: 1.579 MB / 0.8774 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/1.017, allocations: 2.254 MB / 0.8796 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.017, allocations: 4 kB / 0.8796 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02288/1.04, allocations: 4.15 MB / 0.8836 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/1.04, allocations: 37.7 kB / 0.8836 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/1.04, allocations: 15.94 kB / 0.8837 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.044, allocations: 1.165 MB / 0.8848 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.047, allocations: 451.5 kB / 0.8852 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/1.051, allocations: 2.379 MB / 0.8876 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/1.056, allocations: 303.6 kB / 0.8878 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/1.057, allocations: 107.9 kB / 0.8879 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005084/1.062, allocations: 1.484 MB / 0.8894 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004088/1.066, allocations: 1.557 MB / 0.8909 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006858/1.073, allocations: 2.224 MB / 0.8931 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.228e-05/1.073, allocations: 4 kB / 0.8931 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02253/1.095, allocations: 4.132 MB / 0.8971 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/1.095, allocations: 37.7 kB / 0.8972 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.095, allocations: 15.94 kB / 0.8972 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/1.099, allocations: 1.16 MB / 0.8983 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/1.102, allocations: 455.2 kB / 0.8987 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/1.106, allocations: 2.377 MB / 0.9011 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/1.11, allocations: 304 kB / 0.9014 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/1.111, allocations: 107.9 kB / 0.9015 GB, free: 6.332 MB / 0.6544 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0006583/1.111, allocations: 295.8 kB / 0.9017 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/1.112, allocations: 280.6 kB / 0.902 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/1.12, allocations: 2.402 MB / 0.9044 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/1.12, allocations: 16 kB / 0.9044 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.12, allocations: 4 kB / 0.9044 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006841/1.127, allocations: 2.002 MB / 0.9063 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.149, allocations: 7.03 MB / 0.9132 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.149, allocations: 8 kB / 0.9132 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.151, allocations: 275.6 kB / 0.9135 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/1.154, allocations: 1.012 MB / 0.9145 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/1.154, allocations: 51.94 kB / 0.9145 GB, free: 8.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/1.158, allocations: 2.148 MB / 0.9166 GB, free: 6.586 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/1.158, allocations: 11.94 kB / 0.9166 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.172, allocations: 3.749 MB / 0.9203 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.174, allocations: 0.5912 MB / 0.9208 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005818/1.174, allocations: 36.12 kB / 0.9209 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.178, allocations: 227.7 kB / 0.9211 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/1.178, allocations: 116.7 kB / 0.9212 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.178, allocations: 75.92 kB / 0.9213 GB, free: 1.676 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003261/1.181, allocations: 1.866 MB / 0.9231 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.61e-07/1.181, allocations: 3.938 kB / 0.9231 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004871/1.186, allocations: 1.488 MB / 0.9246 GB, free: 14.32 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/1.188, allocations: 0.8071 MB / 0.9254 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.201, allocations: 3.756 MB / 0.929 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/1.201, allocations: 4.438 kB / 0.929 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.204, allocations: 1.029 MB / 0.93 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007343/1.212, allocations: 1.581 MB / 0.9316 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.223, allocations: 5.018 MB / 0.9365 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.224, allocations: 1.708 MB / 0.9381 GB, free: 376 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.225, allocations: 275.1 kB / 0.9384 GB, free: 100 kB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/1.225, allocations: 4 kB / 0.9384 GB, free: 96 kB / 0.6856 GB Notification: Performance of Templates: time 0.1107/1.336, allocations: 83.21 MB / 1.02 GB, free: 13.12 MB / 0.7794 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)