Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.001023/0.001023, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4805/0.4805, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 343.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 87.91 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.635e-05, allocations: 4 kB / 494.6 MB, free: 52.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 72.3 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9258/1.055, allocations: 388 MB / 0.9325 GB, free: 93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/1.055, allocations: 90.2 kB / 0.9326 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.834/4.889, allocations: 1.062 GB / 1.995 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/4.889, allocations: 3 kB / 1.995 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002667/4.889, allocations: 79.25 kB / 1.995 GB, free: 47.06 MB / 0.6355 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.006494/4.895, allocations: 3.216 MB / 1.998 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/4.895, allocations: 8.719 kB / 1.998 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/4.903, allocations: 1.218 MB / 1.999 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00599/4.909, allocations: 3.316 MB / 2.002 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/4.909, allocations: 167.3 kB / 2.003 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/4.91, allocations: 135.6 kB / 2.003 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003334/4.913, allocations: 1.998 MB / 2.005 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/4.917, allocations: 2.505 MB / 2.007 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-05/4.917, allocations: 10.86 kB / 2.007 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/4.918, allocations: 9.172 kB / 2.007 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/4.918, allocations: 95.75 kB / 2.007 GB, free: 44.38 MB / 0.6355 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.01763/4.935, allocations: 12.81 MB / 2.02 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/4.937, allocations: 1.147 MB / 2.021 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/4.938, allocations: 0.5703 MB / 2.021 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/4.94, allocations: 1.779 MB / 2.023 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/4.941, allocations: 0.9074 MB / 2.024 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 4.158e-06/4.941, allocations: 0 / 2.024 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.0213/4.962, allocations: 10.5 MB / 2.034 GB, free: 30.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/4.962, allocations: 0.9303 MB / 2.035 GB, free: 29.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/4.965, allocations: 1.848 MB / 2.037 GB, free: 28.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003188/4.965, allocations: 34.52 kB / 2.037 GB, free: 28.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/4.966, allocations: 1.393 MB / 2.038 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/4.967, allocations: 418.4 kB / 2.039 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/4.967, allocations: 2.25 kB / 2.039 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/4.967, allocations: 361.2 kB / 2.039 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/4.968, allocations: 0.5799 MB / 2.04 GB, free: 27.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/4.969, allocations: 1.191 MB / 2.041 GB, free: 27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/4.972, allocations: 0.9509 MB / 2.042 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/4.973, allocations: 3.25 kB / 2.042 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005893/4.978, allocations: 2.342 MB / 2.044 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009394/4.979, allocations: 5.132 MB / 2.049 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/4.979, allocations: 13.59 kB / 2.049 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/4.981, allocations: 0.712 MB / 2.05 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/4.983, allocations: 457 kB / 2.05 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/4.986, allocations: 2.269 MB / 2.052 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/4.991, allocations: 365.8 kB / 2.053 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/4.991, allocations: 105.6 kB / 2.053 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/4.991, allocations: 6.781 kB / 2.053 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005267/4.996, allocations: 2.049 MB / 2.055 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/4.996, allocations: 16.66 kB / 2.055 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/4.998, allocations: 0.7086 MB / 2.056 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/5, allocations: 444.6 kB / 2.056 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/5.003, allocations: 2.28 MB / 2.058 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004399/5.007, allocations: 298.3 kB / 2.058 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/5.008, allocations: 109.7 kB / 2.059 GB, free: 19.03 MB / 0.6355 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 () * 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 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005664/5.008, allocations: 155.2 kB / 2.059 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004966/5.013, allocations: 1.754 MB / 2.06 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/5.014, allocations: 247.2 kB / 2.061 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/5.02, allocations: 1.834 MB / 2.062 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/5.02, allocations: 19.11 kB / 2.063 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/5.02, allocations: 7.719 kB / 2.063 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004677/5.024, allocations: 1.663 MB / 2.064 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/5.037, allocations: 6.146 MB / 2.07 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/5.037, allocations: 10.59 kB / 2.07 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/5.038, allocations: 277.6 kB / 2.07 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/5.039, allocations: 0.6099 MB / 2.071 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/5.039, allocations: 43.22 kB / 2.071 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/5.042, allocations: 2.024 MB / 2.073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/5.042, allocations: 9.344 kB / 2.073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/5.049, allocations: 3.307 MB / 2.076 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/5.051, allocations: 0.6134 MB / 2.077 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/5.051, allocations: 15.28 kB / 2.077 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/5.054, allocations: 245 kB / 2.077 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/5.054, allocations: 111 kB / 2.077 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/5.054, allocations: 71.33 kB / 2.077 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001997/5.056, allocations: 1.376 MB / 2.079 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/5.057, allocations: 5.156 kB / 2.079 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005432/5.062, allocations: 1.555 MB / 2.08 GB, free: 13.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (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,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/5.073, allocations: 6.839 MB / 2.087 GB, free: 25.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00583/5.078, allocations: 2.787 MB / 2.09 GB, free: 25.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/5.079, allocations: 6.656 kB / 2.09 GB, free: 25.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/5.081, allocations: 0.8368 MB / 2.09 GB, free: 25.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/5.087, allocations: 1.08 MB / 2.091 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/5.1, allocations: 4.359 MB / 2.096 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/5.102, allocations: 1.777 MB / 2.097 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004133/5.106, allocations: 0.7137 MB / 2.098 GB, free: 23.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/5.108, allocations: 1.122 MB / 2.099 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/5.108, allocations: 1.5 kB / 2.099 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/5.25, allocations: 86.25 MB / 2.183 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/5.251, allocations: 193.9 kB / 2.184 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/10.02, allocations: 32 / 2.184 GB, free: 10.07 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)