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.0009531/0.0009531, allocations: 92.73 kB / 16.67 MB, free: 5.863 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.001039/0.00104, allocations: 177.6 kB / 17.58 MB, free: 5.535 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.327/1.327, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4224, allocations: 77.53 MB / 0.5606 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1146/0.5371, allocations: 127.9 MB / 0.6855 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0356/0.5727, allocations: 24.92 MB / 0.7098 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006485/0.5793, allocations: 123.2 kB / 0.71 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/0.5848, allocations: 1.414 MB / 0.7113 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.5985, allocations: 4.153 MB / 0.7154 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009065/0.6076, allocations: 3.196 MB / 0.7185 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01453/0.6221, allocations: 11.45 MB / 0.7297 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.6268, allocations: 2.524 MB / 0.7322 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006953/0.6337, allocations: 2.761 MB / 0.7349 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004609/0.6384, allocations: 2.306 MB / 0.7371 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.6395, allocations: 132 kB / 0.7372 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007442/0.647, allocations: 2.477 MB / 0.7397 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.6484, allocations: 0.6299 MB / 0.7403 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003341/0.6517, allocations: 1.72 MB / 0.742 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.659, allocations: 4.847 MB / 0.7467 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.6591, allocations: 3.938 kB / 0.7467 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6591, allocations: 0 / 0.7467 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001236/0.6592, allocations: 0 / 0.7467 GB, free: 4.312 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007269/0.6665, allocations: 3.37 MB / 0.75 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6666, allocations: 8.031 kB / 0.75 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3337/1, allocations: 1.454 MB / 0.7514 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/1.007, allocations: 2.948 MB / 0.7543 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/1.007, allocations: 249.5 kB / 0.7545 GB, free: 165 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006012/1.008, allocations: 240.2 kB / 0.7548 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009612/1.018, allocations: 3.24 MB / 0.7579 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.204e-05/1.018, allocations: 10.62 kB / 0.7579 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/1.018, allocations: 104.7 kB / 0.758 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.653e-05/1.018, allocations: 70.98 kB / 0.7581 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.028, allocations: 2.897 MB / 0.7609 GB, free: 162.5 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.02331/1.052, allocations: 13.46 MB / 0.7741 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004686/1.056, allocations: 1.536 MB / 0.7756 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/1.06, allocations: 0.9629 MB / 0.7765 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.061, allocations: 1.782 MB / 0.7783 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003841/1.065, allocations: 1.249 MB / 0.7795 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 3.617e-06/1.065, allocations: 0 / 0.7795 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130): time 0.04213/1.107, allocations: 6.025 MB / 0.7854 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/1.107, allocations: 0.5811 MB / 0.7859 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/1.112, allocations: 2.506 MB / 0.7884 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005258/1.113, allocations: 63.92 kB / 0.7884 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/1.114, allocations: 1.342 MB / 0.7897 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/1.115, allocations: 463.9 kB / 0.7902 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.115, allocations: 149.1 kB / 0.7903 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/1.115, allocations: 305.1 kB / 0.7906 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004063/1.119, allocations: 1.03 MB / 0.7916 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004567/1.124, allocations: 1.621 MB / 0.7932 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/1.131, allocations: 2.342 MB / 0.7955 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/1.131, allocations: 3.969 kB / 0.7955 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02442/1.156, allocations: 4.22 MB / 0.7996 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002844/1.156, allocations: 484 kB / 0.8001 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.156, allocations: 15.83 kB / 0.8001 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/1.159, allocations: 0.9577 MB / 0.801 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.162, allocations: 0.4962 MB / 0.8015 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/1.166, allocations: 2 MB / 0.8035 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/1.171, allocations: 0.5182 MB / 0.804 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/1.172, allocations: 111.9 kB / 0.8041 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.172, allocations: 7.938 kB / 0.8041 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02261/1.195, allocations: 3.929 MB / 0.8079 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/1.195, allocations: 12 kB / 0.8079 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/1.198, allocations: 0.9582 MB / 0.8089 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/1.201, allocations: 0.4992 MB / 0.8094 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/1.204, allocations: 2.002 MB / 0.8113 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/1.209, allocations: 469 kB / 0.8118 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.209, allocations: 103.9 kB / 0.8119 GB, free: 126.6 MB / 0.5762 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.001805/1.211, allocations: 0.6967 MB / 0.8125 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008257/1.212, allocations: 280.5 kB / 0.8128 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.223, allocations: 2.57 MB / 0.8153 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.223, allocations: 19.94 kB / 0.8153 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.223, allocations: 7.984 kB / 0.8153 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01004/1.233, allocations: 2.189 MB / 0.8175 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/1.26, allocations: 7.568 MB / 0.8249 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/1.26, allocations: 4 kB / 0.8249 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.262, allocations: 304.2 kB / 0.8252 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003096/1.265, allocations: 0.9457 MB / 0.8261 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/1.266, allocations: 59.88 kB / 0.8261 GB, free: 111.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/1.268, allocations: 1.976 MB / 0.8281 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.268, allocations: 15.88 kB / 0.8281 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.28, allocations: 3.726 MB / 0.8317 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.282, allocations: 0.669 MB / 0.8324 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/1.282, allocations: 32 kB / 0.8324 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/1.285, allocations: 302.9 kB / 0.8327 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.286, allocations: 120.6 kB / 0.8328 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.286, allocations: 79.91 kB / 0.8329 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002579/1.288, allocations: 1.763 MB / 0.8346 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/1.288, allocations: 0 / 0.8346 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004432/1.293, allocations: 1.684 MB / 0.8363 GB, free: 101.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001776/1.295, allocations: 0.7994 MB / 0.837 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.307, allocations: 3.788 MB / 0.8407 GB, free: 96.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/1.307, allocations: 4.438 kB / 0.8407 GB, free: 96.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.31, allocations: 1.04 MB / 0.8418 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/1.321, allocations: 1.44 MB / 0.8432 GB, free: 94.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.332, allocations: 6.311 MB / 0.8493 GB, free: 87.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.333, allocations: 1.715 MB / 0.851 GB, free: 86.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.334, allocations: 275.2 kB / 0.8513 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/1.334, allocations: 0 / 0.8513 GB, free: 85.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.08934/1.424, allocations: 81.05 MB / 0.9304 GB, free: 5.066 MB / 0.5762 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)