Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.001602/0.001602, allocations: 183.9 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.517/0.517, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.517/1.517, allocations: 223.2 MB / 354.3 MB, free: 12.19 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.001075/0.001075, allocations: 104.2 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 72.3 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.2, allocations: 388.6 MB / 0.9484 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/1.2, allocations: 97.64 kB / 0.9485 GB, free: 78.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.117/5.318, allocations: 1.069 GB / 2.018 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.544e-06/5.318, allocations: 2.25 kB / 2.018 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006869/5.318, allocations: 81.94 kB / 2.018 GB, free: 54.93 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01533/5.334, allocations: 3.692 MB / 2.021 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/5.334, allocations: 8.75 kB / 2.021 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001731/5.335, allocations: 328.7 kB / 2.022 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/5.346, allocations: 1.21 MB / 2.023 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/5.358, allocations: 3.324 MB / 2.026 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/5.358, allocations: 255.2 kB / 2.026 GB, free: 52.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/5.359, allocations: 232.4 kB / 2.027 GB, free: 52.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009486/5.369, allocations: 3.134 MB / 2.03 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/5.369, allocations: 7.875 kB / 2.03 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/5.369, allocations: 101.9 kB / 2.03 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.682e-05/5.369, allocations: 72.59 kB / 2.03 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008808/5.378, allocations: 2.765 MB / 2.033 GB, free: 52.05 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.02162/5.4, allocations: 13.15 MB / 2.045 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/5.404, allocations: 1.496 MB / 2.047 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/5.405, allocations: 1.775 MB / 2.049 GB, free: 44.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003729/5.409, allocations: 1.218 MB / 2.05 GB, free: 43.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=118): time 5.02e-06/5.409, allocations: 3.062 kB / 2.05 GB, free: 43.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118): time 0.02259/5.432, allocations: 4.271 MB / 2.054 GB, free: 43.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/5.432, allocations: 0.9402 MB / 2.055 GB, free: 42.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004732/5.437, allocations: 2.332 MB / 2.057 GB, free: 42.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004169/5.437, allocations: 67.41 kB / 2.057 GB, free: 42.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/5.438, allocations: 1.354 MB / 2.059 GB, free: 41.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/5.439, allocations: 416.7 kB / 2.059 GB, free: 41.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/5.439, allocations: 33.09 kB / 2.059 GB, free: 41.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001084/5.439, allocations: 365 kB / 2.059 GB, free: 41.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/5.442, allocations: 0.9414 MB / 2.06 GB, free: 41.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/5.447, allocations: 1.554 MB / 2.062 GB, free: 40.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/5.45, allocations: 1.09 MB / 2.063 GB, free: 40.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/5.45, allocations: 2.281 kB / 2.063 GB, free: 40.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009762/5.46, allocations: 2.907 MB / 2.066 GB, free: 40.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/5.461, allocations: 5.036 MB / 2.071 GB, free: 34.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/5.461, allocations: 11.88 kB / 2.071 GB, free: 34.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/5.464, allocations: 0.7239 MB / 2.071 GB, free: 34.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/5.467, allocations: 499.4 kB / 2.072 GB, free: 34.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/5.469, allocations: 1.79 MB / 2.074 GB, free: 33.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/5.474, allocations: 0.5119 MB / 2.074 GB, free: 33.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/5.475, allocations: 108.6 kB / 2.074 GB, free: 33.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/5.475, allocations: 3.625 kB / 2.074 GB, free: 33.73 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008059/5.483, allocations: 2.587 MB / 2.077 GB, free: 33.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/5.483, allocations: 10.97 kB / 2.077 GB, free: 33.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/5.485, allocations: 0.7237 MB / 2.077 GB, free: 33.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/5.488, allocations: 478.8 kB / 2.078 GB, free: 33.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/5.49, allocations: 1.796 MB / 2.08 GB, free: 32.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/5.495, allocations: 440.5 kB / 2.08 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/5.495, allocations: 109.4 kB / 2.08 GB, free: 32.48 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002257/5.498, allocations: 0.7065 MB / 2.081 GB, free: 32.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/5.499, allocations: 280.3 kB / 2.081 GB, free: 32.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009025/5.508, allocations: 2.266 MB / 2.083 GB, free: 32.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/5.508, allocations: 19.06 kB / 2.083 GB, free: 32.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/5.508, allocations: 3.688 kB / 2.083 GB, free: 32.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007912/5.516, allocations: 2.059 MB / 2.085 GB, free: 31.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/5.532, allocations: 6.988 MB / 2.092 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/5.532, allocations: 9.562 kB / 2.092 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/5.534, allocations: 289.7 kB / 2.092 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/5.536, allocations: 0.7015 MB / 2.093 GB, free: 29.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/5.537, allocations: 47.48 kB / 2.093 GB, free: 29.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/5.539, allocations: 1.795 MB / 2.095 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/5.539, allocations: 7.156 kB / 2.095 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/5.55, allocations: 4.103 MB / 2.099 GB, free: 27.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/5.553, allocations: 0.6613 MB / 2.1 GB, free: 26.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006655/5.554, allocations: 36.5 kB / 2.1 GB, free: 26.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/5.557, allocations: 289.6 kB / 2.1 GB, free: 26.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/5.557, allocations: 112.1 kB / 2.1 GB, free: 26.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/5.557, allocations: 66.53 kB / 2.1 GB, free: 26.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003368/5.561, allocations: 1.829 MB / 2.102 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/5.561, allocations: 0 / 2.102 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007066/5.568, allocations: 1.844 MB / 2.104 GB, free: 26.45 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01413/5.582, allocations: 7.642 MB / 2.111 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01178/5.594, allocations: 3.488 MB / 2.114 GB, free: 22.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/5.594, allocations: 3.875 kB / 2.114 GB, free: 22.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/5.597, allocations: 1.039 MB / 2.116 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008973/5.606, allocations: 1.379 MB / 2.117 GB, free: 22.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05371/5.66, allocations: 26.92 MB / 2.143 GB, free: 22.53 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/5.662, allocations: 1.765 MB / 2.145 GB, free: 21.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003993/5.666, allocations: 0.6927 MB / 2.146 GB, free: 21.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/5.667, allocations: 1.154 MB / 2.147 GB, free: 21.62 MB / 0.6667 GB Notification: Performance of SimCode: time 9.72e-07/5.667, allocations: 4 kB / 2.147 GB, free: 21.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/5.826, allocations: 98.92 MB / 2.243 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/5.826, allocations: 273.1 kB / 2.244 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.623/11.45, allocations: 0 / 2.244 GB, free: 3.117 MB / 0.6823 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)