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.834/0.834, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.001298/0.001298, allocations: 175.9 kB / 191.5 MB, free: 5.746 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.513/1.513, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.0009616/0.0009613, allocations: 96.31 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 275 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 16.23 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1931, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.56, allocations: 395.6 MB / 1.16 GB, free: 180.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/1.56, allocations: 93.03 kB / 1.16 GB, free: 180.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.167/5.728, allocations: 1.065 GB / 2.225 GB, free: 59.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/5.728, allocations: 0 / 2.225 GB, free: 59.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004421/5.728, allocations: 78.3 kB / 2.225 GB, free: 59.02 MB / 0.7292 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.01307/5.741, allocations: 3.687 MB / 2.228 GB, free: 57.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/5.742, allocations: 9.312 kB / 2.228 GB, free: 57.66 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001694/5.743, allocations: 327.5 kB / 2.229 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/5.754, allocations: 1.213 MB / 2.23 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00977/5.764, allocations: 3.303 MB / 2.233 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/5.764, allocations: 246.4 kB / 2.233 GB, free: 56.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009021/5.765, allocations: 238.5 kB / 2.234 GB, free: 56.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009749/5.775, allocations: 3.128 MB / 2.237 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/5.775, allocations: 8.969 kB / 2.237 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/5.776, allocations: 107.8 kB / 2.237 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/5.776, allocations: 70.3 kB / 2.237 GB, free: 56.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/5.787, allocations: 2.768 MB / 2.24 GB, free: 56.37 MB / 0.7292 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.02438/5.811, allocations: 13.14 MB / 2.252 GB, free: 50.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/5.815, allocations: 1.498 MB / 2.254 GB, free: 50.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/5.817, allocations: 1.773 MB / 2.256 GB, free: 48.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003754/5.821, allocations: 1.216 MB / 2.257 GB, free: 48.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 5.23e-06/5.821, allocations: 3.156 kB / 2.257 GB, free: 48.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=118): time 0.02155/5.842, allocations: 4.279 MB / 2.261 GB, free: 47.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002797/5.843, allocations: 0.9373 MB / 2.262 GB, free: 46.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005614/5.848, allocations: 2.325 MB / 2.264 GB, free: 46.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005398/5.849, allocations: 61.45 kB / 2.264 GB, free: 46.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/5.85, allocations: 1.353 MB / 2.266 GB, free: 46.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/5.851, allocations: 417.9 kB / 2.266 GB, free: 45.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/5.851, allocations: 33.53 kB / 2.266 GB, free: 45.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001106/5.851, allocations: 371.4 kB / 2.266 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/5.855, allocations: 0.9409 MB / 2.267 GB, free: 45.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/5.859, allocations: 1.564 MB / 2.269 GB, free: 44.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/5.863, allocations: 1.08 MB / 2.27 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/5.863, allocations: 3.688 kB / 2.27 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009801/5.873, allocations: 2.905 MB / 2.273 GB, free: 44.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009605/5.874, allocations: 5.031 MB / 2.278 GB, free: 39.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/5.874, allocations: 11.28 kB / 2.278 GB, free: 39.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/5.876, allocations: 0.7326 MB / 2.278 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/5.879, allocations: 493.8 kB / 2.279 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/5.881, allocations: 1.788 MB / 2.281 GB, free: 38.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/5.888, allocations: 0.5269 MB / 2.281 GB, free: 38.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/5.888, allocations: 107.4 kB / 2.281 GB, free: 38.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/5.888, allocations: 10.34 kB / 2.281 GB, free: 38.06 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01018/5.898, allocations: 2.574 MB / 2.284 GB, free: 37.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-05/5.899, allocations: 12.19 kB / 2.284 GB, free: 37.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/5.901, allocations: 0.7217 MB / 2.284 GB, free: 37.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/5.904, allocations: 482.2 kB / 2.285 GB, free: 37.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/5.906, allocations: 1.804 MB / 2.287 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/5.912, allocations: 443.4 kB / 2.287 GB, free: 36.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/5.913, allocations: 99.39 kB / 2.287 GB, free: 36.82 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 () * 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.002735/5.915, allocations: 0.6947 MB / 2.288 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/5.917, allocations: 281 kB / 2.288 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/5.927, allocations: 2.276 MB / 2.29 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/5.927, allocations: 14.72 kB / 2.29 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/5.927, allocations: 6.625 kB / 2.29 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008344/5.935, allocations: 2.06 MB / 2.292 GB, free: 36.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/5.955, allocations: 6.984 MB / 2.299 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/5.956, allocations: 7.438 kB / 2.299 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/5.958, allocations: 292.1 kB / 2.299 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/5.96, allocations: 0.7054 MB / 2.3 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003471/5.961, allocations: 55.34 kB / 2.3 GB, free: 34.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/5.963, allocations: 1.78 MB / 2.302 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/5.963, allocations: 7.406 kB / 2.302 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/5.975, allocations: 4.102 MB / 2.306 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/5.978, allocations: 0.6619 MB / 2.307 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/5.98, allocations: 36 kB / 2.307 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/5.985, allocations: 281 kB / 2.307 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/5.985, allocations: 113.4 kB / 2.307 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/5.985, allocations: 71.31 kB / 2.307 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004857/5.99, allocations: 1.821 MB / 2.309 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/5.99, allocations: 1.125 kB / 2.309 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009385/5.999, allocations: 1.846 MB / 2.311 GB, free: 30.84 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) * 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.01868/6.018, allocations: 7.663 MB / 2.318 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01334/6.032, allocations: 3.49 MB / 2.322 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.037e-05/6.032, allocations: 3.969 kB / 2.322 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00406/6.036, allocations: 1.042 MB / 2.323 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009734/6.045, allocations: 1.397 MB / 2.324 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05656/6.102, allocations: 26.84 MB / 2.35 GB, free: 27.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/6.103, allocations: 1.767 MB / 2.352 GB, free: 26.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004012/6.107, allocations: 0.6901 MB / 2.353 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/6.109, allocations: 1.148 MB / 2.354 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/6.109, allocations: 0 / 2.354 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/6.272, allocations: 99.36 MB / 2.451 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/6.272, allocations: 291 kB / 2.451 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.465/11.74, allocations: 4.062 kB / 2.451 GB, free: 14.44 MB / 0.7448 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)