Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.9 kB / 17.08 MB, free: 6.105 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.001429/0.001429, allocations: 196.2 kB / 18.01 MB, free: 5.188 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.396/1.396, 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.76/0.76, allocations: 115.3 MB / 407.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.52 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.565/0.7444, allocations: 126.1 MB / 0.7559 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.7687, allocations: 15.41 MB / 0.7709 GB, free: 28.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00432/0.773, allocations: 76.94 kB / 0.771 GB, free: 28.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003722/0.7768, allocations: 0.9644 MB / 0.772 GB, free: 28.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009521/0.7864, allocations: 2.607 MB / 0.7745 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007118/0.7935, allocations: 2.136 MB / 0.7766 GB, free: 28.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008064/0.8016, allocations: 4.794 MB / 0.7813 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.8052, allocations: 1.709 MB / 0.7829 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.8107, allocations: 1.867 MB / 0.7848 GB, free: 27.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.814, allocations: 1.33 MB / 0.7861 GB, free: 27.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008677/0.8149, allocations: 209.1 kB / 0.7863 GB, free: 27.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006183/0.8211, allocations: 2.051 MB / 0.7883 GB, free: 27.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.8222, allocations: 0.4926 MB / 0.7887 GB, free: 26.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.8248, allocations: 1.074 MB / 0.7898 GB, free: 26.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008152/0.833, allocations: 3.697 MB / 0.7934 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.833, allocations: 0 / 0.7934 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8331, allocations: 0 / 0.7934 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001173/0.8332, allocations: 0 / 0.7934 GB, free: 24.95 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006132/0.8393, allocations: 2.456 MB / 0.7958 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.8394, allocations: 7.875 kB / 0.7958 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/0.8451, allocations: 0.7099 MB / 0.7965 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.8485, allocations: 1.697 MB / 0.7982 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.8487, allocations: 141 kB / 0.7983 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.849, allocations: 121.8 kB / 0.7984 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.8533, allocations: 1.731 MB / 0.8001 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.8533, allocations: 2.438 kB / 0.8001 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.8535, allocations: 54.84 kB / 0.8002 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.8536, allocations: 36.41 kB / 0.8002 GB, free: 20.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.8581, allocations: 1.517 MB / 0.8017 GB, free: 19.71 MB / 0.5762 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.009914/0.868, allocations: 7.541 MB / 0.809 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.8719, allocations: 1.153 MB / 0.8102 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.8737, allocations: 0.5944 MB / 0.8107 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009958/0.8747, allocations: 1.276 MB / 0.812 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/0.877, allocations: 0.6963 MB / 0.8127 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.797e-06/0.877, allocations: 0 / 0.8127 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01726/0.8943, allocations: 3.161 MB / 0.8158 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.8944, allocations: 140.1 kB / 0.8159 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.8963, allocations: 1.294 MB / 0.8172 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.8965, allocations: 49.64 kB / 0.8172 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.8971, allocations: 0.73 MB / 0.8179 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.8974, allocations: 269.7 kB / 0.8182 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.8978, allocations: 222.4 kB / 0.8184 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.8979, allocations: 345.9 kB / 0.8187 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.8996, allocations: 0.5278 MB / 0.8192 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.9016, allocations: 0.8006 MB / 0.82 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.9052, allocations: 1.231 MB / 0.8212 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.9052, allocations: 3.938 kB / 0.8212 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004933/0.9102, allocations: 1.656 MB / 0.8228 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.9102, allocations: 8 kB / 0.8228 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.9102, allocations: 4 kB / 0.8228 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.9121, allocations: 0.5717 MB / 0.8234 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.9133, allocations: 247.6 kB / 0.8236 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.9153, allocations: 1.162 MB / 0.8248 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.9174, allocations: 194.8 kB / 0.825 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.9176, allocations: 51.95 kB / 0.825 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002716/0.9203, allocations: 0.8298 MB / 0.8258 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002254/0.9226, allocations: 0.7905 MB / 0.8266 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004031/0.9266, allocations: 1.216 MB / 0.8278 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.9267, allocations: 7.938 kB / 0.8278 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005579/0.9323, allocations: 1.638 MB / 0.8294 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9323, allocations: 12.09 kB / 0.8294 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.9323, allocations: 8 kB / 0.8294 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.9343, allocations: 0.5581 MB / 0.83 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9357, allocations: 251.6 kB / 0.8302 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.9378, allocations: 1.166 MB / 0.8313 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.9399, allocations: 151.3 kB / 0.8315 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.9401, allocations: 59.94 kB / 0.8315 GB, free: 8.258 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004919/0.9406, allocations: 252 kB / 0.8318 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/0.9413, allocations: 146.2 kB / 0.8319 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.9544, allocations: 2.119 MB / 0.834 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.9545, allocations: 16.02 kB / 0.834 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.9545, allocations: 0 / 0.834 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01262/0.9671, allocations: 1.958 MB / 0.8359 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009726/0.9769, allocations: 3.652 MB / 0.8395 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.9769, allocations: 3.938 kB / 0.8395 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.9781, allocations: 171.9 kB / 0.8396 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.9801, allocations: 0.5514 MB / 0.8402 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.9802, allocations: 35.94 kB / 0.8402 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.9823, allocations: 1.15 MB / 0.8413 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9823, allocations: 4 kB / 0.8413 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.9878, allocations: 1.592 MB / 0.8429 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9889, allocations: 383 kB / 0.8433 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/0.9893, allocations: 19.98 kB / 0.8433 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.9913, allocations: 111.9 kB / 0.8434 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.9915, allocations: 60.45 kB / 0.8434 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.9917, allocations: 51.92 kB / 0.8435 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001709/0.9934, allocations: 0.879 MB / 0.8444 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9934, allocations: 4 kB / 0.8444 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003642/0.997, allocations: 0.9704 MB / 0.8453 GB, free: 9.898 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002447/0.9995, allocations: 0.8966 MB / 0.8462 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007494/1.007, allocations: 2.022 MB / 0.8482 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.007, allocations: 0 / 0.8482 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/1.009, allocations: 0.6243 MB / 0.8488 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/1.014, allocations: 0.7662 MB / 0.8495 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/1.021, allocations: 2.738 MB / 0.8522 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.022, allocations: 1.255 MB / 0.8534 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006786/1.023, allocations: 167.3 kB / 0.8536 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of SimCode: time 1.343e-06/1.023, allocations: 0 / 0.8536 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of Templates: time 0.05551/1.078, allocations: 37.56 MB / 0.8902 GB, free: 12.27 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)