Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 110.1 kB / 17.09 MB, free: 5.984 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.001196/0.001196, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.352/1.352, 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.7945/0.7945, allocations: 122.8 MB / 414.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.88 kB / 0.5691 GB, free: 28.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 77.93 MB / 0.6452 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5335/0.6796, allocations: 130.9 MB / 0.773 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.7144, allocations: 25.02 MB / 0.7974 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008189/0.7227, allocations: 136.8 kB / 0.7976 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005401/0.7282, allocations: 1.792 MB / 0.7993 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.7426, allocations: 4.716 MB / 0.8039 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009735/0.7524, allocations: 3.543 MB / 0.8074 GB, free: 21.26 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.7653, allocations: 9.068 MB / 0.8162 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/0.7714, allocations: 3.205 MB / 0.8194 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00857/0.78, allocations: 3.552 MB / 0.8228 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.7853, allocations: 2.483 MB / 0.8253 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.7869, allocations: 394.7 kB / 0.8256 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008573/0.7955, allocations: 2.885 MB / 0.8285 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.7971, allocations: 0.8937 MB / 0.8293 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.8017, allocations: 1.994 MB / 0.8313 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.8145, allocations: 6.38 MB / 0.8375 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.8146, allocations: 7.984 kB / 0.8375 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8146, allocations: 0 / 0.8375 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001948/0.8148, allocations: 0 / 0.8375 GB, free: 15.83 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008902/0.8237, allocations: 4.078 MB / 0.8415 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.8237, allocations: 8.625 kB / 0.8415 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.8349, allocations: 1.381 MB / 0.8429 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.8406, allocations: 2.982 MB / 0.8458 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.8409, allocations: 262 kB / 0.846 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.8414, allocations: 237.5 kB / 0.8462 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007514/0.8489, allocations: 3.19 MB / 0.8494 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.849, allocations: 7.844 kB / 0.8494 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/0.8492, allocations: 107.2 kB / 0.8495 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/0.8493, allocations: 71.92 kB / 0.8495 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008839/0.8582, allocations: 2.835 MB / 0.8523 GB, free: 412 kB / 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.01993/0.8781, allocations: 13.39 MB / 0.8654 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.8826, allocations: 1.492 MB / 0.8668 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.8858, allocations: 0.9389 MB / 0.8678 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.8877, allocations: 1.783 MB / 0.8695 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003887/0.8916, allocations: 1.216 MB / 0.8707 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=130): time 7.243e-06/0.8917, allocations: 0 / 0.8707 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=130): time 0.04124/0.9329, allocations: 5.829 MB / 0.8764 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/0.9333, allocations: 0.5727 MB / 0.8769 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/0.9389, allocations: 2.544 MB / 0.8794 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000464/0.9394, allocations: 61.69 kB / 0.8795 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.941, allocations: 1.338 MB / 0.8808 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/0.9417, allocations: 453.8 kB / 0.8812 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.9429, allocations: 466.9 kB / 0.8817 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.943, allocations: 313.1 kB / 0.882 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/0.9471, allocations: 1.012 MB / 0.883 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.9524, allocations: 1.579 MB / 0.8845 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008163/0.9605, allocations: 2.275 MB / 0.8867 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/0.9606, allocations: 4 kB / 0.8867 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02548/0.9861, allocations: 4.112 MB / 0.8907 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.9862, allocations: 41.69 kB / 0.8908 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.9862, allocations: 12 kB / 0.8908 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.9899, allocations: 0.9507 MB / 0.8917 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.993, allocations: 499.1 kB / 0.8922 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.9967, allocations: 1.981 MB / 0.8941 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/1.002, allocations: 437.4 kB / 0.8945 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004222/1.002, allocations: 103.9 kB / 0.8946 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005408/1.008, allocations: 1.507 MB / 0.8961 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004609/1.012, allocations: 1.567 MB / 0.8976 GB, free: 104 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008112/1.02, allocations: 2.249 MB / 0.8998 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-05/1.02, allocations: 4 kB / 0.8998 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02444/1.045, allocations: 4.077 MB / 0.9038 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/1.045, allocations: 37.69 kB / 0.9039 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.045, allocations: 12 kB / 0.9039 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/1.049, allocations: 0.9474 MB / 0.9048 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/1.051, allocations: 495.2 kB / 0.9053 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/1.055, allocations: 1.984 MB / 0.9072 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.06, allocations: 382.8 kB / 0.9076 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/1.06, allocations: 103.9 kB / 0.9077 GB, free: 5.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008052/1.061, allocations: 304.4 kB / 0.908 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.062, allocations: 276.7 kB / 0.9082 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.074, allocations: 2.513 MB / 0.9107 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01056/1.085, allocations: 2.13 MB / 0.9128 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/1.085, allocations: 3.828 kB / 0.9128 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.087, allocations: 0.5813 MB / 0.9133 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000855/1.088, allocations: 28 kB / 0.9134 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/1.092, allocations: 219.7 kB / 0.9136 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.092, allocations: 100.7 kB / 0.9137 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01376/1.106, allocations: 3.292 MB / 0.9169 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0115/1.117, allocations: 3.78 MB / 0.9206 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003405/1.121, allocations: 0.8888 MB / 0.9214 GB, free: 7.418 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003973/1.125, allocations: 1.758 MB / 0.9232 GB, free: 5.656 MB / 0.67 GB Notification: Performance of Backend: time 6.71e-07/1.125, allocations: 0 / 0.9232 GB, free: 5.656 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.14, allocations: 3.996 MB / 0.9271 GB, free: 1.711 MB / 0.67 GB Notification: Performance of SimCode: time 0.01502/1.155, allocations: 6.27 MB / 0.9332 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.1555/1.311, allocations: 89.29 MB / 1.02 GB, free: 2.77 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)