Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8925/0.8925, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 180.2 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 88.03 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 269.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.216e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4841, allocations: 82.76 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8213/1.306, allocations: 394.9 MB / 1.143 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.306, allocations: 93.77 kB / 1.143 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.572/4.878, allocations: 1.056 GB / 2.199 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/4.878, allocations: 0 / 2.199 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002581/4.878, allocations: 83.42 kB / 2.199 GB, free: 48.14 MB / 0.7136 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.006412/4.885, allocations: 3.173 MB / 2.203 GB, free: 44.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/4.885, allocations: 12.03 kB / 2.203 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008207/4.893, allocations: 1.21 MB / 2.204 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006163/4.899, allocations: 3.281 MB / 2.207 GB, free: 40.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/4.899, allocations: 174.2 kB / 2.207 GB, free: 40.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/4.9, allocations: 136 kB / 2.207 GB, free: 40.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003676/4.904, allocations: 1.959 MB / 2.209 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00377/4.907, allocations: 2.464 MB / 2.212 GB, free: 35.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-05/4.907, allocations: 0 / 2.212 GB, free: 35.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/4.908, allocations: 8 kB / 2.212 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/4.908, allocations: 71.94 kB / 2.212 GB, free: 35.38 MB / 0.7136 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.01678/4.925, allocations: 12.63 MB / 2.224 GB, free: 22.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/4.926, allocations: 1.127 MB / 2.225 GB, free: 21.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/4.927, allocations: 0.5891 MB / 2.226 GB, free: 20.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/4.928, allocations: 1.783 MB / 2.227 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/4.929, allocations: 0.9089 MB / 2.228 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.246e-06/4.929, allocations: 4 kB / 2.228 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.006872/4.936, allocations: 1.835 MB / 2.23 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/4.936, allocations: 0.9428 MB / 2.231 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/4.939, allocations: 1.84 MB / 2.233 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003178/4.939, allocations: 33.7 kB / 2.233 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/4.94, allocations: 1.385 MB / 2.234 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/4.941, allocations: 402.2 kB / 2.235 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/4.941, allocations: 0 / 2.235 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/4.941, allocations: 369.9 kB / 2.235 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/4.942, allocations: 0.5936 MB / 2.236 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/4.943, allocations: 1.193 MB / 2.237 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/4.947, allocations: 0.956 MB / 2.238 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/4.947, allocations: 11.98 kB / 2.238 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006647/4.953, allocations: 2.272 MB / 2.24 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/4.955, allocations: 4.938 MB / 2.245 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/4.955, allocations: 14.75 kB / 2.245 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/4.956, allocations: 0.5316 MB / 2.245 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/4.959, allocations: 499.2 kB / 2.246 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/4.962, allocations: 1.784 MB / 2.247 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005108/4.967, allocations: 445.9 kB / 2.248 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/4.967, allocations: 107.9 kB / 2.248 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/4.967, allocations: 4 kB / 2.248 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00646/4.974, allocations: 2 MB / 2.25 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-05/4.974, allocations: 12 kB / 2.25 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/4.975, allocations: 0.5297 MB / 2.25 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/4.978, allocations: 483.2 kB / 2.251 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/4.981, allocations: 1.775 MB / 2.253 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/4.986, allocations: 366.4 kB / 2.253 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/4.986, allocations: 103.8 kB / 2.253 GB, free: 6.895 MB / 0.7292 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.001042/4.987, allocations: 164.5 kB / 2.253 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008202/4.996, allocations: 1.837 MB / 2.255 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/4.997, allocations: 249.1 kB / 2.255 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007858/5.005, allocations: 1.845 MB / 2.257 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/5.005, allocations: 16 kB / 2.257 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/5.005, allocations: 7.75 kB / 2.257 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006306/5.011, allocations: 1.677 MB / 2.259 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5043/5.515, allocations: 6.223 MB / 2.265 GB, free: 72.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/5.515, allocations: 8.578 kB / 2.265 GB, free: 72.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/5.517, allocations: 291.5 kB / 2.265 GB, free: 72.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/5.519, allocations: 0.5227 MB / 2.266 GB, free: 72.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/5.519, allocations: 39.08 kB / 2.266 GB, free: 72.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/5.521, allocations: 1.768 MB / 2.267 GB, free: 71.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/5.521, allocations: 7.469 kB / 2.267 GB, free: 71.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007346/5.528, allocations: 3.298 MB / 2.271 GB, free: 70.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/5.53, allocations: 0.6204 MB / 2.271 GB, free: 69.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007628/5.531, allocations: 14.06 kB / 2.271 GB, free: 69.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/5.535, allocations: 262.4 kB / 2.271 GB, free: 69.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/5.535, allocations: 109.8 kB / 2.272 GB, free: 69.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/5.536, allocations: 68.91 kB / 2.272 GB, free: 69.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002573/5.538, allocations: 1.383 MB / 2.273 GB, free: 69.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/5.538, allocations: 0 / 2.273 GB, free: 69.72 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008365/5.547, allocations: 1.81 MB / 2.275 GB, free: 69.61 MB / 0.7292 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.01074/5.557, allocations: 6.955 MB / 2.282 GB, free: 66.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004896/5.562, allocations: 2.547 MB / 2.284 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/5.562, allocations: 5.188 kB / 2.284 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/5.564, allocations: 0.7402 MB / 2.285 GB, free: 65.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/5.571, allocations: 1.093 MB / 2.286 GB, free: 65.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/5.587, allocations: 4.488 MB / 2.29 GB, free: 64.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/5.589, allocations: 1.764 MB / 2.292 GB, free: 63.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008355/5.598, allocations: 0.7679 MB / 2.293 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002892/5.6, allocations: 1.094 MB / 2.294 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of SimCode: time 1.713e-06/5.601, allocations: 0 / 2.294 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/5.765, allocations: 85.23 MB / 2.377 GB, free: 59.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/5.765, allocations: 216.4 kB / 2.377 GB, free: 58.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.206/10.97, allocations: 3.266 kB / 2.377 GB, free: 58.89 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)