Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.8146/0.8146, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001544/0.001545, allocations: 169.1 kB / 191.5 MB, free: 5.766 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.525/1.525, allocations: 223.1 MB / 447.7 MB, free: 4.809 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.0009087/0.0009085, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 273.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 13.34 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.544, allocations: 395.8 MB / 1.16 GB, free: 194 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.544, allocations: 97.2 kB / 1.16 GB, free: 194 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.767/5.311, allocations: 1.066 GB / 2.226 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.086e-06/5.311, allocations: 0 / 2.226 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005588/5.311, allocations: 87.86 kB / 2.226 GB, free: 13.26 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01354/5.325, allocations: 3.709 MB / 2.23 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/5.325, allocations: 12.03 kB / 2.23 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001631/5.327, allocations: 332.8 kB / 2.23 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/5.337, allocations: 1.213 MB / 2.232 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009804/5.346, allocations: 3.304 MB / 2.235 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/5.347, allocations: 255.9 kB / 2.235 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/5.348, allocations: 232 kB / 2.235 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/5.359, allocations: 3.184 MB / 2.238 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/5.36, allocations: 4 kB / 2.238 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007828/5.36, allocations: 100 kB / 2.238 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/5.36, allocations: 100.2 kB / 2.239 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/5.372, allocations: 2.803 MB / 2.241 GB, free: 13.61 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.5913/5.963, allocations: 13.36 MB / 2.254 GB, free: 58.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/5.968, allocations: 1.521 MB / 2.256 GB, free: 58.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/5.97, allocations: 1.779 MB / 2.258 GB, free: 56.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003784/5.973, allocations: 1.2 MB / 2.259 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 3.767e-06/5.973, allocations: 4.781 kB / 2.259 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.04318/6.017, allocations: 13.3 MB / 2.272 GB, free: 50.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003148/6.017, allocations: 0.94 MB / 2.273 GB, free: 49.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/6.023, allocations: 2.415 MB / 2.275 GB, free: 49.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005594/6.024, allocations: 63.11 kB / 2.275 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/6.025, allocations: 1.366 MB / 2.276 GB, free: 48.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006893/6.026, allocations: 425.9 kB / 2.277 GB, free: 48.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/6.026, allocations: 32.91 kB / 2.277 GB, free: 48.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001356/6.026, allocations: 374.4 kB / 2.277 GB, free: 48.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/6.03, allocations: 0.9256 MB / 2.278 GB, free: 48.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/6.035, allocations: 1.562 MB / 2.28 GB, free: 47.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/6.039, allocations: 1.073 MB / 2.281 GB, free: 47.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/6.039, allocations: 3.188 kB / 2.281 GB, free: 47.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01036/6.049, allocations: 2.979 MB / 2.284 GB, free: 47.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001424/6.051, allocations: 5.251 MB / 2.289 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/6.051, allocations: 14.41 kB / 2.289 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/6.054, allocations: 0.9397 MB / 2.29 GB, free: 41.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/6.057, allocations: 456.1 kB / 2.29 GB, free: 41.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/6.06, allocations: 2.187 MB / 2.292 GB, free: 40.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006171/6.066, allocations: 418.3 kB / 2.293 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/6.066, allocations: 110 kB / 2.293 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/6.066, allocations: 3.844 kB / 2.293 GB, free: 40.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009701/6.076, allocations: 2.648 MB / 2.295 GB, free: 40.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-05/6.076, allocations: 13.53 kB / 2.295 GB, free: 40.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/6.079, allocations: 0.9263 MB / 2.296 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/6.082, allocations: 441.4 kB / 2.297 GB, free: 40.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/6.085, allocations: 2.193 MB / 2.299 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00565/6.091, allocations: 357.1 kB / 2.299 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004717/6.091, allocations: 107.1 kB / 2.299 GB, free: 39.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (152): * Single equations (assignments): 149 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002597/6.094, allocations: 0.6909 MB / 2.3 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/6.095, allocations: 288.8 kB / 2.3 GB, free: 39.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/6.106, allocations: 2.35 MB / 2.302 GB, free: 38.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/6.106, allocations: 14.88 kB / 2.302 GB, free: 38.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/6.106, allocations: 3.312 kB / 2.302 GB, free: 38.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008513/6.114, allocations: 2.126 MB / 2.305 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/6.134, allocations: 6.771 MB / 2.311 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/6.134, allocations: 7.219 kB / 2.311 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/6.136, allocations: 278.8 kB / 2.311 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/6.139, allocations: 0.787 MB / 2.312 GB, free: 36.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/6.139, allocations: 49.53 kB / 2.312 GB, free: 36.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/6.142, allocations: 1.965 MB / 2.314 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/6.142, allocations: 6.875 kB / 2.314 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/6.154, allocations: 4.119 MB / 2.318 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/6.156, allocations: 0.6479 MB / 2.319 GB, free: 34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/6.158, allocations: 40.44 kB / 2.319 GB, free: 34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004414/6.163, allocations: 285.6 kB / 2.319 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/6.163, allocations: 108.9 kB / 2.319 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/6.163, allocations: 76.88 kB / 2.319 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004902/6.168, allocations: 1.9 MB / 2.321 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/6.168, allocations: 0 / 2.321 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009365/6.177, allocations: 1.654 MB / 2.323 GB, free: 33.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01825/6.196, allocations: 7.539 MB / 2.33 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01339/6.209, allocations: 3.553 MB / 2.334 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-05/6.209, allocations: 4.062 kB / 2.334 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/6.213, allocations: 1.037 MB / 2.335 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008674/6.222, allocations: 1.516 MB / 2.336 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06063/6.282, allocations: 27.57 MB / 2.363 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/6.285, allocations: 1.767 MB / 2.365 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00503/6.29, allocations: 0.6622 MB / 2.365 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/6.292, allocations: 1.168 MB / 2.367 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/6.293, allocations: 0 / 2.367 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/6.476, allocations: 104.5 MB / 2.469 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/6.477, allocations: 280.6 kB / 2.469 GB, free: 22.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.72/12.2, allocations: 4.062 kB / 2.469 GB, free: 22.22 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)