Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="IDEAS_IDEAS_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.001309/0.001309, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7836/0.7836, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.5 MB / 395.4 MB, free: 10.85 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.001035/0.001034, allocations: 104.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.816e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4666, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8903/1.357, allocations: 397.7 MB / 1.022 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.357, allocations: 94.25 kB / 1.022 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.959/5.317, allocations: 1.058 GB / 2.08 GB, free: 38.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/5.317, allocations: 3.938 kB / 2.08 GB, free: 38.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003587/5.317, allocations: 79.92 kB / 2.08 GB, free: 38.05 MB / 0.698 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.008813/5.326, allocations: 3.222 MB / 2.084 GB, free: 34.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/5.326, allocations: 12.03 kB / 2.084 GB, free: 34.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009394/5.336, allocations: 1.213 MB / 2.085 GB, free: 33.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007256/5.343, allocations: 3.307 MB / 2.088 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/5.343, allocations: 171.9 kB / 2.088 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005736/5.344, allocations: 140 kB / 2.088 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004218/5.348, allocations: 1.992 MB / 2.09 GB, free: 27.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/5.352, allocations: 2.499 MB / 2.093 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/5.352, allocations: 11.84 kB / 2.093 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/5.352, allocations: 4 kB / 2.093 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.399e-05/5.353, allocations: 100.3 kB / 2.093 GB, free: 25 MB / 0.698 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.01813/5.371, allocations: 12.81 MB / 2.105 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/5.372, allocations: 1.139 MB / 2.106 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/5.373, allocations: 0.5802 MB / 2.107 GB, free: 9.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/5.374, allocations: 1.778 MB / 2.109 GB, free: 7.734 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/5.375, allocations: 0.9042 MB / 2.11 GB, free: 6.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 3.647e-06/5.375, allocations: 1.203 kB / 2.11 GB, free: 6.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=122): time 0.0222/5.398, allocations: 10.5 MB / 2.12 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004697/5.398, allocations: 0.9364 MB / 2.121 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/5.401, allocations: 1.841 MB / 2.123 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003514/5.402, allocations: 33.7 kB / 2.123 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/5.403, allocations: 1.392 MB / 2.124 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/5.404, allocations: 414 kB / 2.124 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/5.404, allocations: 0 / 2.124 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001971/5.404, allocations: 361.9 kB / 2.125 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/5.405, allocations: 0.578 MB / 2.125 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/5.407, allocations: 1.196 MB / 2.126 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/5.41, allocations: 0.9484 MB / 2.127 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/5.41, allocations: 4 kB / 2.127 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006378/5.417, allocations: 2.346 MB / 2.13 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.5506/5.967, allocations: 5.121 MB / 2.135 GB, free: 65.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/5.967, allocations: 12.56 kB / 2.135 GB, free: 65.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/5.97, allocations: 0.7111 MB / 2.135 GB, free: 65.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/5.973, allocations: 456.4 kB / 2.136 GB, free: 65.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/5.977, allocations: 2.28 MB / 2.138 GB, free: 64.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/5.982, allocations: 359.4 kB / 2.138 GB, free: 64.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/5.982, allocations: 110.7 kB / 2.138 GB, free: 64.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/5.982, allocations: 3.688 kB / 2.139 GB, free: 64.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005851/5.988, allocations: 2.052 MB / 2.141 GB, free: 64.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/5.988, allocations: 12.09 kB / 2.141 GB, free: 64.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/5.99, allocations: 0.7127 MB / 2.141 GB, free: 64.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/5.992, allocations: 446.6 kB / 2.142 GB, free: 64.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/5.995, allocations: 2.281 MB / 2.144 GB, free: 63.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/6, allocations: 303.7 kB / 2.144 GB, free: 63.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/6, allocations: 106.7 kB / 2.144 GB, free: 63.16 MB / 0.7136 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.0008708/6.001, allocations: 154 kB / 2.144 GB, free: 63.06 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005848/6.007, allocations: 1.748 MB / 2.146 GB, free: 62.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008885/6.008, allocations: 244.1 kB / 2.146 GB, free: 62.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/6.014, allocations: 1.836 MB / 2.148 GB, free: 62.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/6.014, allocations: 18.16 kB / 2.148 GB, free: 62.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/6.014, allocations: 2.781 kB / 2.148 GB, free: 62.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005154/6.019, allocations: 1.667 MB / 2.15 GB, free: 62.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/6.034, allocations: 6.157 MB / 2.156 GB, free: 60.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/6.034, allocations: 12.92 kB / 2.156 GB, free: 60.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/6.036, allocations: 277.8 kB / 2.156 GB, free: 60.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/6.037, allocations: 0.5983 MB / 2.157 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/6.037, allocations: 41 kB / 2.157 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/6.04, allocations: 2.036 MB / 2.159 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/6.04, allocations: 7.875 kB / 2.159 GB, free: 59.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007116/6.047, allocations: 3.303 MB / 2.162 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/6.049, allocations: 0.6058 MB / 2.163 GB, free: 58.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/6.05, allocations: 17.41 kB / 2.163 GB, free: 58.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/6.055, allocations: 250.7 kB / 2.163 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/6.055, allocations: 109.6 kB / 2.163 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/6.055, allocations: 69.83 kB / 2.163 GB, free: 58.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003673/6.059, allocations: 1.378 MB / 2.164 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/6.059, allocations: 1.938 kB / 2.164 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008013/6.067, allocations: 1.562 MB / 2.166 GB, free: 58.12 MB / 0.7136 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.01304/6.08, allocations: 6.829 MB / 2.172 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007168/6.087, allocations: 2.778 MB / 2.175 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-05/6.087, allocations: 5.375 kB / 2.175 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/6.09, allocations: 0.8343 MB / 2.176 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007087/6.097, allocations: 1.08 MB / 2.177 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/6.111, allocations: 4.373 MB / 2.181 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/6.112, allocations: 1.776 MB / 2.183 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003947/6.116, allocations: 0.7107 MB / 2.184 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/6.117, allocations: 1.124 MB / 2.185 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/6.117, allocations: 5.234 kB / 2.185 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/6.256, allocations: 86.26 MB / 2.269 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/6.256, allocations: 177.3 kB / 2.269 GB, free: 47.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.788/12.04, allocations: 3.938 kB / 2.269 GB, free: 47.4 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)