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.001212/0.001212, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.512/0.512, allocations: 90.8 MB / 104.5 MB, free: 13.88 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.346/1.346, allocations: 221.3 MB / 348.3 MB, free: 12.53 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.0008899/0.0008899, allocations: 91.94 kB / 421.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.376e-05, allocations: 0 / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 72.31 MB / 0.5603 GB, free: 6.289 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.935/1.055, allocations: 388.5 MB / 0.9397 GB, free: 85.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.055, allocations: 87.45 kB / 0.9398 GB, free: 85.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.899/4.954, allocations: 1.066 GB / 2.006 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.535e-06/4.954, allocations: 3.781 kB / 2.006 GB, free: 54.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006043/4.954, allocations: 83.34 kB / 2.006 GB, free: 54.8 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.01004/4.964, allocations: 3.18 MB / 2.009 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/4.964, allocations: 12.95 kB / 2.009 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/4.966, allocations: 317.9 kB / 2.009 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00989/4.976, allocations: 1.216 MB / 2.01 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/4.986, allocations: 3.308 MB / 2.014 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004821/4.987, allocations: 251.5 kB / 2.014 GB, free: 52.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/4.988, allocations: 231.9 kB / 2.014 GB, free: 52.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008115/4.996, allocations: 2.787 MB / 2.017 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.336e-05/4.996, allocations: 8.406 kB / 2.017 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/4.997, allocations: 103.3 kB / 2.017 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/4.997, allocations: 72.17 kB / 2.017 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/5.001, allocations: 2.104 MB / 2.019 GB, free: 52.2 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.02091/5.022, allocations: 13.15 MB / 2.032 GB, free: 46.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/5.024, allocations: 1.17 MB / 2.033 GB, free: 46.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/5.025, allocations: 0.6238 MB / 2.034 GB, free: 46.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/5.027, allocations: 1.777 MB / 2.035 GB, free: 44.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/5.028, allocations: 0.9555 MB / 2.036 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=118): time 3.737e-06/5.028, allocations: 0 / 2.036 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118): time 0.005373/5.034, allocations: 1.699 MB / 2.038 GB, free: 43.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002281/5.034, allocations: 0.9389 MB / 2.039 GB, free: 42.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/5.038, allocations: 2.255 MB / 2.041 GB, free: 42.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004862/5.039, allocations: 62.02 kB / 2.041 GB, free: 42.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/5.04, allocations: 1.357 MB / 2.043 GB, free: 42.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005461/5.04, allocations: 423.9 kB / 2.043 GB, free: 41.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/5.04, allocations: 32.91 kB / 2.043 GB, free: 41.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001143/5.041, allocations: 366 kB / 2.043 GB, free: 41.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/5.042, allocations: 0.6203 MB / 2.044 GB, free: 41.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/5.043, allocations: 1.23 MB / 2.045 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/5.044, allocations: 0.7732 MB / 2.046 GB, free: 40.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/5.044, allocations: 3.438 kB / 2.046 GB, free: 40.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004987/5.049, allocations: 2.223 MB / 2.048 GB, free: 40.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/5.05, allocations: 5.031 MB / 2.053 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/5.05, allocations: 14.5 kB / 2.053 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/5.053, allocations: 0.642 MB / 2.054 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/5.056, allocations: 495.5 kB / 2.054 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/5.057, allocations: 1.698 MB / 2.056 GB, free: 34.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/5.063, allocations: 0.5162 MB / 2.056 GB, free: 34.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/5.064, allocations: 104.3 kB / 2.056 GB, free: 34.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.064, allocations: 5.531 kB / 2.056 GB, free: 34.02 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003583/5.067, allocations: 1.961 MB / 2.058 GB, free: 33.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/5.067, allocations: 17.72 kB / 2.058 GB, free: 33.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/5.069, allocations: 0.6373 MB / 2.059 GB, free: 33.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/5.072, allocations: 487.7 kB / 2.059 GB, free: 33.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/5.073, allocations: 1.689 MB / 2.061 GB, free: 32.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/5.078, allocations: 444.6 kB / 2.061 GB, free: 32.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/5.079, allocations: 100.9 kB / 2.062 GB, free: 32.78 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 () * 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.0006347/5.079, allocations: 216 kB / 2.062 GB, free: 32.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009178/5.08, allocations: 280 kB / 2.062 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/5.085, allocations: 1.697 MB / 2.064 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/5.085, allocations: 19.7 kB / 2.064 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/5.085, allocations: 4.812 kB / 2.064 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003769/5.089, allocations: 1.487 MB / 2.065 GB, free: 32.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/5.104, allocations: 6.432 MB / 2.071 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/5.104, allocations: 7.75 kB / 2.071 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/5.106, allocations: 285.5 kB / 2.072 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/5.108, allocations: 0.6443 MB / 2.072 GB, free: 30.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/5.108, allocations: 44.44 kB / 2.072 GB, free: 30.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/5.109, allocations: 1.685 MB / 2.074 GB, free: 29.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/5.109, allocations: 10.84 kB / 2.074 GB, free: 29.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/5.116, allocations: 3.283 MB / 2.077 GB, free: 27.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/5.118, allocations: 0.66 MB / 2.078 GB, free: 27.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/5.119, allocations: 30.44 kB / 2.078 GB, free: 27.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004026/5.123, allocations: 283.8 kB / 2.078 GB, free: 27.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/5.124, allocations: 118.3 kB / 2.078 GB, free: 27.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/5.124, allocations: 68.42 kB / 2.078 GB, free: 27.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004329/5.128, allocations: 1.748 MB / 2.08 GB, free: 27.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/5.128, allocations: 0 / 2.08 GB, free: 27.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008496/5.137, allocations: 1.843 MB / 2.082 GB, free: 26.88 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) * 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.01021/5.147, allocations: 6.829 MB / 2.089 GB, free: 23.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006092/5.153, allocations: 2.708 MB / 2.091 GB, free: 22.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/5.153, allocations: 4.25 kB / 2.091 GB, free: 22.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/5.155, allocations: 0.7703 MB / 2.092 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/5.163, allocations: 1.39 MB / 2.093 GB, free: 22.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/5.182, allocations: 4.668 MB / 2.098 GB, free: 21.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/5.184, allocations: 1.771 MB / 2.1 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.006032/5.19, allocations: 0.8456 MB / 2.1 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/5.192, allocations: 1.106 MB / 2.101 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.674e-06/5.192, allocations: 0 / 2.101 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1957/5.388, allocations: 103.2 MB / 2.202 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/5.388, allocations: 242.9 kB / 2.202 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.421/10.81, allocations: 0 / 2.202 GB, free: 8.898 MB / 0.6511 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)