Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.002071/0.002071, allocations: 182.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5594/0.5594, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.1 MB / 354.3 MB, free: 10.44 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 99.2 kB / 427.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 11.98 kB / 0.4983 GB, free: 41.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 72.31 MB / 0.5689 GB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.327, allocations: 389.2 MB / 0.949 GB, free: 77.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.328, allocations: 94.33 kB / 0.9491 GB, free: 77.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.261/5.589, allocations: 1.07 GB / 2.019 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.298e-06/5.589, allocations: 3.625 kB / 2.019 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006048/5.59, allocations: 77.64 kB / 2.019 GB, free: 43.24 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01396/5.604, allocations: 3.7 MB / 2.023 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/5.604, allocations: 8.281 kB / 2.023 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/5.605, allocations: 327.4 kB / 2.023 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/5.616, allocations: 1.318 MB / 2.024 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/5.627, allocations: 3.331 MB / 2.028 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/5.627, allocations: 258.2 kB / 2.028 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/5.628, allocations: 231.2 kB / 2.028 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/5.639, allocations: 3.206 MB / 2.031 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/5.639, allocations: 11.77 kB / 2.031 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/5.639, allocations: 101.8 kB / 2.031 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-05/5.64, allocations: 70.42 kB / 2.031 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009879/5.649, allocations: 2.877 MB / 2.034 GB, free: 40.2 MB / 0.6355 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.02389/5.673, allocations: 13.51 MB / 2.047 GB, free: 34.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/5.678, allocations: 1.587 MB / 2.049 GB, free: 34.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/5.68, allocations: 1.778 MB / 2.051 GB, free: 32.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004078/5.684, allocations: 1.257 MB / 2.052 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 5.09e-06/5.684, allocations: 3.906 kB / 2.052 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.0678/5.752, allocations: 16.26 MB / 2.068 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/5.752, allocations: 0.9393 MB / 2.069 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/5.757, allocations: 2.426 MB / 2.071 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004959/5.757, allocations: 60.83 kB / 2.071 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/5.758, allocations: 1.362 MB / 2.072 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/5.759, allocations: 431.1 kB / 2.073 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/5.759, allocations: 31.69 kB / 2.073 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001457/5.759, allocations: 366.6 kB / 2.073 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/5.763, allocations: 0.9781 MB / 2.074 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/5.767, allocations: 1.61 MB / 2.076 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/5.771, allocations: 1.11 MB / 2.077 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/5.771, allocations: 3.75 kB / 2.077 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01066/5.782, allocations: 3.118 MB / 2.08 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/5.783, allocations: 5.263 MB / 2.085 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/5.783, allocations: 13.62 kB / 2.085 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/5.787, allocations: 1.152 MB / 2.086 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/5.79, allocations: 455.1 kB / 2.087 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/5.794, allocations: 2.382 MB / 2.089 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/5.8, allocations: 426.2 kB / 2.089 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/5.8, allocations: 105.2 kB / 2.089 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/5.8, allocations: 7.844 kB / 2.089 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009358/5.81, allocations: 2.794 MB / 2.092 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/5.81, allocations: 12.66 kB / 2.092 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/5.813, allocations: 1.156 MB / 2.093 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/5.816, allocations: 438.2 kB / 2.094 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/5.82, allocations: 2.377 MB / 2.096 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/5.825, allocations: 368.1 kB / 2.096 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/5.826, allocations: 106.4 kB / 2.096 GB, free: 14.17 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002165/5.828, allocations: 0.6987 MB / 2.097 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000962/5.829, allocations: 285 kB / 2.097 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009831/5.839, allocations: 2.418 MB / 2.1 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/5.839, allocations: 20 kB / 2.1 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/5.839, allocations: 3.75 kB / 2.1 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008977/5.848, allocations: 2.18 MB / 2.102 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/5.865, allocations: 7.141 MB / 2.109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/5.865, allocations: 7.625 kB / 2.109 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/5.867, allocations: 269.8 kB / 2.109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/5.87, allocations: 1.023 MB / 2.11 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/5.871, allocations: 51.2 kB / 2.11 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/5.874, allocations: 2.154 MB / 2.112 GB, free: 26.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/5.874, allocations: 8.219 kB / 2.112 GB, free: 26.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/5.888, allocations: 4.35 MB / 2.117 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/5.89, allocations: 0.66 MB / 2.117 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007455/5.891, allocations: 40.12 kB / 2.117 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003632/5.895, allocations: 291.3 kB / 2.118 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/5.895, allocations: 111.8 kB / 2.118 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/5.895, allocations: 70.12 kB / 2.118 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003659/5.899, allocations: 1.903 MB / 2.12 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/5.899, allocations: 1.031 kB / 2.12 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00801/5.907, allocations: 1.667 MB / 2.121 GB, free: 24.15 MB / 0.6511 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 (76): * Single equations (assignments): 70 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0192/5.926, allocations: 7.759 MB / 2.129 GB, free: 20.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01352/5.94, allocations: 3.691 MB / 2.132 GB, free: 20.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/5.94, allocations: 4.375 kB / 2.132 GB, free: 20.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/5.944, allocations: 1.087 MB / 2.133 GB, free: 20.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008138/5.952, allocations: 1.481 MB / 2.135 GB, free: 20.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05549/6.007, allocations: 27.62 MB / 2.162 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/6.009, allocations: 1.766 MB / 2.164 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004592/6.014, allocations: 0.6577 MB / 2.164 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/6.016, allocations: 1.167 MB / 2.165 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of SimCode: time 9.91e-07/6.016, allocations: 0 / 2.165 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6758/6.692, allocations: 106.2 MB / 2.269 GB, free: 64.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/6.692, allocations: 265.4 kB / 2.269 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.095/12.79, allocations: 0 / 2.269 GB, free: 63.95 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)