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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.57/0.57, allocations: 91.97 MB / 108.5 MB, free: 13.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 108.2 kB / 427.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 8 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.182, allocations: 389 MB / 0.9488 GB, free: 78.18 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.182, allocations: 97.31 kB / 0.9489 GB, free: 78.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.127/5.309, allocations: 1.069 GB / 2.018 GB, free: 55.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.236e-06/5.309, allocations: 0 / 2.018 GB, free: 55.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005738/5.31, allocations: 83.58 kB / 2.018 GB, free: 55.2 MB / 0.6511 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.013/5.323, allocations: 3.705 MB / 2.022 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/5.323, allocations: 9.469 kB / 2.022 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001487/5.324, allocations: 328.7 kB / 2.022 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/5.335, allocations: 1.318 MB / 2.024 GB, free: 53.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009632/5.345, allocations: 3.343 MB / 2.027 GB, free: 52.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/5.345, allocations: 256.5 kB / 2.027 GB, free: 52.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008609/5.346, allocations: 245 kB / 2.027 GB, free: 52.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008884/5.355, allocations: 3.197 MB / 2.031 GB, free: 52.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/5.355, allocations: 6.25 kB / 2.031 GB, free: 52.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003782/5.356, allocations: 104.1 kB / 2.031 GB, free: 52.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-05/5.356, allocations: 66.19 kB / 2.031 GB, free: 52.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/5.367, allocations: 2.878 MB / 2.034 GB, free: 52.29 MB / 0.6511 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.02386/5.39, allocations: 13.33 MB / 2.047 GB, free: 46.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/5.395, allocations: 1.605 MB / 2.048 GB, free: 46.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/5.396, allocations: 1.775 MB / 2.05 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003757/5.4, allocations: 1.281 MB / 2.051 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=122): time 3.828e-06/5.4, allocations: 0 / 2.051 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=122): time 0.04203/5.442, allocations: 6.125 MB / 2.057 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/5.442, allocations: 0.9334 MB / 2.058 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/5.447, allocations: 2.343 MB / 2.06 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005161/5.447, allocations: 60.33 kB / 2.06 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/5.449, allocations: 1.36 MB / 2.062 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000537/5.449, allocations: 428.1 kB / 2.062 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/5.449, allocations: 32.81 kB / 2.062 GB, free: 41.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001226/5.449, allocations: 373.5 kB / 2.062 GB, free: 41.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/5.453, allocations: 0.9945 MB / 2.063 GB, free: 41.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/5.457, allocations: 1.619 MB / 2.065 GB, free: 40.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/5.461, allocations: 1.126 MB / 2.066 GB, free: 40.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/5.461, allocations: 6.062 kB / 2.066 GB, free: 40.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01871/5.48, allocations: 3.657 MB / 2.07 GB, free: 40.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001264/5.481, allocations: 5.029 MB / 2.075 GB, free: 35.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/5.482, allocations: 16.61 kB / 2.075 GB, free: 35.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/5.485, allocations: 0.9526 MB / 2.076 GB, free: 35.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/5.488, allocations: 495.9 kB / 2.076 GB, free: 35.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/5.491, allocations: 1.997 MB / 2.078 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/5.498, allocations: 0.5276 MB / 2.079 GB, free: 33.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/5.498, allocations: 104 kB / 2.079 GB, free: 33.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/5.498, allocations: 8.234 kB / 2.079 GB, free: 33.91 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01693/5.515, allocations: 3.326 MB / 2.082 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/5.515, allocations: 13.34 kB / 2.082 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/5.518, allocations: 0.9708 MB / 2.083 GB, free: 33.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/5.521, allocations: 483.5 kB / 2.083 GB, free: 33.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/5.524, allocations: 1.981 MB / 2.085 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/5.53, allocations: 457.5 kB / 2.086 GB, free: 32.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005603/5.53, allocations: 105.4 kB / 2.086 GB, free: 32.58 MB / 0.6511 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002566/5.533, allocations: 0.6985 MB / 2.086 GB, free: 32.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/5.534, allocations: 275.9 kB / 2.087 GB, free: 32.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01646/5.551, allocations: 2.941 MB / 2.09 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/5.551, allocations: 14.91 kB / 2.09 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/5.551, allocations: 9.125 kB / 2.09 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01456/5.566, allocations: 2.714 MB / 2.092 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/5.588, allocations: 7.648 MB / 2.1 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/5.588, allocations: 7.562 kB / 2.1 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/5.59, allocations: 294.4 kB / 2.1 GB, free: 29.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/5.593, allocations: 0.9362 MB / 2.101 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/5.593, allocations: 51.5 kB / 2.101 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/5.596, allocations: 1.977 MB / 2.103 GB, free: 28.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/5.596, allocations: 12.84 kB / 2.103 GB, free: 28.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/5.609, allocations: 4.326 MB / 2.107 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/5.612, allocations: 0.6713 MB / 2.108 GB, free: 26.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006538/5.612, allocations: 39.14 kB / 2.108 GB, free: 26.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/5.616, allocations: 299.3 kB / 2.108 GB, free: 26.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/5.616, allocations: 112.9 kB / 2.108 GB, free: 26.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/5.616, allocations: 69.3 kB / 2.108 GB, free: 26.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003135/5.619, allocations: 1.835 MB / 2.11 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.81e-07/5.619, allocations: 0 / 2.11 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005826/5.625, allocations: 1.857 MB / 2.112 GB, free: 26.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0148/5.64, allocations: 7.867 MB / 2.12 GB, free: 22.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01285/5.653, allocations: 3.657 MB / 2.123 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/5.653, allocations: 4.562 kB / 2.123 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/5.657, allocations: 1.094 MB / 2.124 GB, free: 22.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007386/5.664, allocations: 1.383 MB / 2.126 GB, free: 21.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0559/5.72, allocations: 27.05 MB / 2.152 GB, free: 22.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/5.722, allocations: 1.771 MB / 2.154 GB, free: 21.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004041/5.726, allocations: 0.6933 MB / 2.154 GB, free: 21.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/5.727, allocations: 1.152 MB / 2.156 GB, free: 21.3 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/5.727, allocations: 3.828 kB / 2.156 GB, free: 21.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6112/6.339, allocations: 101.7 MB / 2.255 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/6.339, allocations: 262.6 kB / 2.255 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.019/12.36, allocations: 3.234 kB / 2.255 GB, free: 75.56 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)