Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.743/1.743, allocations: 288.2 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 174.8 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009573, allocations: 97.14 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004352, allocations: 11.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.478, allocations: 426.7 MB / 1.396 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.478, allocations: 102.8 kB / 1.396 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.374/3.852, allocations: 0.5553 GB / 1.952 GB, free: 189.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.568e-06/3.852, allocations: 0 / 1.952 GB, free: 189.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002985/3.853, allocations: 49.81 kB / 1.952 GB, free: 189.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007369/3.86, allocations: 2.242 MB / 1.954 GB, free: 187.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/3.86, allocations: 10.97 kB / 1.954 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007703/3.861, allocations: 189.2 kB / 1.954 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/3.867, allocations: 0.6762 MB / 1.955 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/3.872, allocations: 1.881 MB / 1.957 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/3.873, allocations: 140.7 kB / 1.957 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006265/3.873, allocations: 123.8 kB / 1.957 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005547/3.879, allocations: 1.731 MB / 1.958 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/3.879, allocations: 3.031 kB / 1.958 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/3.879, allocations: 56.3 kB / 1.959 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/3.879, allocations: 49.47 kB / 1.959 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/3.885, allocations: 1.529 MB / 1.96 GB, free: 183.7 MB / 0.948 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.01387/3.899, allocations: 7.517 MB / 1.967 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/3.903, allocations: 1.225 MB / 1.969 GB, free: 176.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/3.904, allocations: 1.284 MB / 1.97 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/3.907, allocations: 0.7172 MB / 1.971 GB, free: 175 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.087e-06/3.907, allocations: 0 / 1.971 GB, free: 175 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.0224/3.929, allocations: 3.581 MB / 1.974 GB, free: 171.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/3.929, allocations: 166.9 kB / 1.974 GB, free: 171.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/3.932, allocations: 1.187 MB / 1.975 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003915/3.933, allocations: 45.7 kB / 1.975 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/3.934, allocations: 0.7348 MB / 1.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/3.934, allocations: 271.7 kB / 1.976 GB, free: 169.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/3.934, allocations: 20 kB / 1.976 GB, free: 169.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/3.935, allocations: 341 kB / 1.977 GB, free: 169 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/3.937, allocations: 0.5408 MB / 1.977 GB, free: 168.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/3.939, allocations: 0.8566 MB / 1.978 GB, free: 167.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/3.941, allocations: 0.5921 MB / 1.979 GB, free: 166.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/3.941, allocations: 4 kB / 1.979 GB, free: 166.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00549/3.946, allocations: 1.698 MB / 1.98 GB, free: 165.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006973/3.947, allocations: 2.405 MB / 1.983 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/3.947, allocations: 11.94 kB / 1.983 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/3.949, allocations: 0.5817 MB / 1.983 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/3.951, allocations: 242.3 kB / 1.983 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/3.953, allocations: 1.183 MB / 1.985 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/3.955, allocations: 249.5 kB / 1.985 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/3.956, allocations: 51.95 kB / 1.985 GB, free: 160.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/3.956, allocations: 4 kB / 1.985 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004738/3.96, allocations: 1.509 MB / 1.986 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/3.96, allocations: 4 kB / 1.986 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/3.962, allocations: 0.5726 MB / 1.987 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/3.964, allocations: 242.6 kB / 1.987 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/3.966, allocations: 1.186 MB / 1.988 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/3.968, allocations: 222.3 kB / 1.989 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/3.969, allocations: 55.94 kB / 1.989 GB, free: 156.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001476/3.97, allocations: 467.6 kB / 1.989 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/3.971, allocations: 158.2 kB / 1.989 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0056/3.977, allocations: 1.668 MB / 1.991 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/3.977, allocations: 8 kB / 1.991 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/3.977, allocations: 0 / 1.991 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004393/3.981, allocations: 1.454 MB / 1.992 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/3.99, allocations: 3.34 MB / 1.996 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/3.99, allocations: 0 / 1.996 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/3.991, allocations: 187.8 kB / 1.996 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/3.993, allocations: 0.5534 MB / 1.996 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/3.993, allocations: 39.88 kB / 1.996 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/3.995, allocations: 1.174 MB / 1.997 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/3.995, allocations: 8.031 kB / 1.997 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/4.001, allocations: 1.71 MB / 1.999 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/4.002, allocations: 422.8 kB / 2 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/4.003, allocations: 16 kB / 2 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/4.005, allocations: 163.7 kB / 2 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/4.005, allocations: 60.53 kB / 2 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/4.006, allocations: 55.92 kB / 2 GB, free: 145.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002295/4.008, allocations: 0.9219 MB / 2.001 GB, free: 144.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/4.008, allocations: 0 / 2.001 GB, free: 144.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005265/4.013, allocations: 1.072 MB / 2.002 GB, free: 143.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008593/4.022, allocations: 3.658 MB / 2.005 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007005/4.029, allocations: 2.066 MB / 2.007 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/4.029, allocations: 4.5 kB / 2.007 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/4.031, allocations: 0.6668 MB / 2.008 GB, free: 136.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/4.037, allocations: 0.7665 MB / 2.009 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/4.066, allocations: 13.72 MB / 2.022 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/4.067, allocations: 1.294 MB / 2.023 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002407/4.07, allocations: 390.7 kB / 2.024 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/4.071, allocations: 0.6281 MB / 2.024 GB, free: 119.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.254e-06/4.071, allocations: 0 / 2.024 GB, free: 119.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09534/4.166, allocations: 57.22 MB / 2.08 GB, free: 63.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/4.167, allocations: 276.2 kB / 2.081 GB, free: 63.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/8.39, allocations: 4 kB / 2.081 GB, free: 63.04 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)