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.001077/0.001077, allocations: 115 kB / 17.09 MB, free: 5.988 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.001087/0.001087, allocations: 198.9 kB / 18.03 MB, free: 5.062 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6814/0.6814, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.73 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1277, allocations: 76.17 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4266/0.5544, allocations: 126.1 MB / 0.7559 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.5741, allocations: 15.42 MB / 0.771 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.5776, allocations: 74.12 kB / 0.771 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.5806, allocations: 0.9636 MB / 0.772 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.5883, allocations: 2.613 MB / 0.7745 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006063/0.5944, allocations: 2.131 MB / 0.7766 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00698/0.6014, allocations: 4.794 MB / 0.7813 GB, free: 28.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.6041, allocations: 1.704 MB / 0.7829 GB, free: 27.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.6084, allocations: 1.873 MB / 0.7848 GB, free: 27.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.6108, allocations: 1.334 MB / 0.7861 GB, free: 27.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.6112, allocations: 204.5 kB / 0.7863 GB, free: 27.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.6155, allocations: 2.045 MB / 0.7883 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.6159, allocations: 0.495 MB / 0.7888 GB, free: 26.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.6171, allocations: 1.073 MB / 0.7898 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.6218, allocations: 3.697 MB / 0.7934 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6218, allocations: 0 / 0.7934 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6219, allocations: 0 / 0.7934 GB, free: 24.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.6219, allocations: 0 / 0.7934 GB, free: 24.97 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.003486/0.6254, allocations: 2.455 MB / 0.7958 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6254, allocations: 8.344 kB / 0.7958 GB, free: 23.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.6307, allocations: 0.7112 MB / 0.7965 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.633, allocations: 1.701 MB / 0.7982 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.6331, allocations: 135.5 kB / 0.7983 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.6333, allocations: 125.2 kB / 0.7984 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.6367, allocations: 1.719 MB / 0.8001 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6367, allocations: 3.938 kB / 0.8001 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.6368, allocations: 62.59 kB / 0.8002 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.6369, allocations: 40.2 kB / 0.8002 GB, free: 20.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/0.6411, allocations: 1.501 MB / 0.8017 GB, free: 19.75 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.007553/0.6486, allocations: 7.549 MB / 0.809 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.6524, allocations: 1.154 MB / 0.8102 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.6542, allocations: 0.5962 MB / 0.8107 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.6552, allocations: 1.274 MB / 0.812 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.6572, allocations: 0.6912 MB / 0.8127 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.867e-06/0.6572, allocations: 0 / 0.8127 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.01704/0.6743, allocations: 3.165 MB / 0.8158 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6744, allocations: 136 kB / 0.8159 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6758, allocations: 1.293 MB / 0.8172 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6759, allocations: 49.64 kB / 0.8172 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.6763, allocations: 0.7268 MB / 0.8179 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.6765, allocations: 274.6 kB / 0.8182 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.6768, allocations: 222.4 kB / 0.8184 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.6769, allocations: 349.9 kB / 0.8187 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.6787, allocations: 0.5239 MB / 0.8192 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.6806, allocations: 0.8027 MB / 0.82 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/0.684, allocations: 1.236 MB / 0.8212 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.684, allocations: 0 / 0.8212 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004511/0.6886, allocations: 1.66 MB / 0.8228 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6886, allocations: 8 kB / 0.8228 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6886, allocations: 4 kB / 0.8229 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.6904, allocations: 0.5714 MB / 0.8234 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6916, allocations: 243.6 kB / 0.8236 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.6934, allocations: 1.167 MB / 0.8248 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.6951, allocations: 182.8 kB / 0.825 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6952, allocations: 63.94 kB / 0.825 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002347/0.6976, allocations: 0.8298 MB / 0.8258 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002003/0.6996, allocations: 0.7895 MB / 0.8266 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003684/0.7033, allocations: 1.215 MB / 0.8278 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-06/0.7033, allocations: 4 kB / 0.8278 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.004875/0.7082, allocations: 1.64 MB / 0.8294 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.7082, allocations: 5.719 kB / 0.8294 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7082, allocations: 8 kB / 0.8294 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.71, allocations: 0.5638 MB / 0.83 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.7113, allocations: 243.5 kB / 0.8302 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.7131, allocations: 1.177 MB / 0.8313 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.7149, allocations: 155.3 kB / 0.8315 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.715, allocations: 55.95 kB / 0.8315 GB, free: 8.289 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.00034/0.7153, allocations: 249.8 kB / 0.8318 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.7157, allocations: 146.3 kB / 0.8319 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.7283, allocations: 2.123 MB / 0.834 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01198/0.7403, allocations: 1.95 MB / 0.8359 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7403, allocations: 3.938 kB / 0.8359 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.7414, allocations: 382.9 kB / 0.8363 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/0.7419, allocations: 15.94 kB / 0.8363 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.7436, allocations: 107.9 kB / 0.8364 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7438, allocations: 56.52 kB / 0.8364 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007525/0.7513, allocations: 1.747 MB / 0.8381 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006411/0.7577, allocations: 2.087 MB / 0.8402 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001872/0.7596, allocations: 0.5441 MB / 0.8407 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001385/0.761, allocations: 0.879 MB / 0.8416 GB, free: 14 MB / 0.6075 GB Notification: Performance of Backend: time 5.21e-07/0.761, allocations: 0 / 0.8416 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008845/0.7699, allocations: 2.65 MB / 0.8442 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of SimCode: time 0.006025/0.7759, allocations: 3.549 MB / 0.8476 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of Templates: time 0.06527/0.8412, allocations: 45.77 MB / 0.8923 GB, free: 10.69 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)