Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001377/0.001377, allocations: 180 kB / 377.1 MB, free: 1.52 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.878/1.878, allocations: 205.4 MB / 0.6366 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009025/0.0009027, allocations: 97.53 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.754/2.038, allocations: 427.7 MB / 1.406 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/2.038, allocations: 98.86 kB / 1.406 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/3.811, allocations: 0.5554 GB / 1.961 GB, free: 130.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/3.811, allocations: 0 / 1.961 GB, free: 130.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001636/3.811, allocations: 42.58 kB / 1.962 GB, free: 130.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.005096/3.816, allocations: 2.242 MB / 1.964 GB, free: 127.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/3.816, allocations: 16.03 kB / 1.964 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002925/3.816, allocations: 185.8 kB / 1.964 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/3.821, allocations: 0.6811 MB / 1.965 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/3.825, allocations: 1.868 MB / 1.966 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/3.825, allocations: 140.1 kB / 1.967 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/3.825, allocations: 128 kB / 1.967 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/3.829, allocations: 1.735 MB / 1.968 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/3.829, allocations: 3.375 kB / 1.968 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/3.829, allocations: 55.05 kB / 1.968 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/3.829, allocations: 43.92 kB / 1.968 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/3.834, allocations: 1.531 MB / 1.97 GB, free: 121.4 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.01071/3.844, allocations: 7.524 MB / 1.977 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/3.848, allocations: 1.236 MB / 1.978 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/3.85, allocations: 1.263 MB / 1.98 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/3.852, allocations: 0.738 MB / 1.98 GB, free: 110.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.887e-06/3.852, allocations: 0 / 1.98 GB, free: 110.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.02167/3.874, allocations: 3.569 MB / 1.984 GB, free: 106.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/3.874, allocations: 170.8 kB / 1.984 GB, free: 106.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/3.876, allocations: 1.181 MB / 1.985 GB, free: 105.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/3.876, allocations: 49.7 kB / 1.985 GB, free: 105 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/3.877, allocations: 0.7298 MB / 1.986 GB, free: 104.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/3.877, allocations: 270.6 kB / 1.986 GB, free: 104 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/3.877, allocations: 23.94 kB / 1.986 GB, free: 104 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/3.877, allocations: 341.9 kB / 1.987 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/3.879, allocations: 0.5484 MB / 1.987 GB, free: 103.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/3.881, allocations: 0.8517 MB / 1.988 GB, free: 102.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/3.883, allocations: 0.5908 MB / 1.989 GB, free: 101.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/3.883, allocations: 4 kB / 1.989 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0052/3.888, allocations: 1.691 MB / 1.99 GB, free: 99.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005264/3.889, allocations: 2.412 MB / 1.993 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/3.889, allocations: 7.984 kB / 1.993 GB, free: 97.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/3.891, allocations: 0.5742 MB / 1.993 GB, free: 96.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/3.892, allocations: 247.6 kB / 1.993 GB, free: 96.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/3.894, allocations: 1.19 MB / 1.995 GB, free: 95.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/3.896, allocations: 242.8 kB / 1.995 GB, free: 95.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/3.896, allocations: 59.94 kB / 1.995 GB, free: 94.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/3.896, allocations: 4 kB / 1.995 GB, free: 94.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/3.901, allocations: 1.5 MB / 1.996 GB, free: 93.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/3.901, allocations: 11.98 kB / 1.996 GB, free: 93.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/3.903, allocations: 0.5709 MB / 1.997 GB, free: 92.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/3.904, allocations: 239.6 kB / 1.997 GB, free: 92.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/3.906, allocations: 1.174 MB / 1.998 GB, free: 91.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/3.908, allocations: 226.9 kB / 1.998 GB, free: 91.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/3.908, allocations: 59.94 kB / 1.999 GB, free: 91.15 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.001148/3.909, allocations: 466 kB / 1.999 GB, free: 90.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/3.91, allocations: 146.2 kB / 1.999 GB, free: 90.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/3.914, allocations: 1.669 MB / 2.001 GB, free: 88.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/3.915, allocations: 12 kB / 2.001 GB, free: 88.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/3.915, allocations: 4 kB / 2.001 GB, free: 88.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004002/3.919, allocations: 1.461 MB / 2.002 GB, free: 87.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/3.926, allocations: 3.339 MB / 2.005 GB, free: 83.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/3.926, allocations: 0 / 2.005 GB, free: 83.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/3.928, allocations: 179.9 kB / 2.006 GB, free: 83.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/3.929, allocations: 0.5575 MB / 2.006 GB, free: 83.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/3.929, allocations: 35.81 kB / 2.006 GB, free: 83.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/3.931, allocations: 1.17 MB / 2.007 GB, free: 81.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.931, allocations: 0 / 2.007 GB, free: 81.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/3.936, allocations: 1.714 MB / 2.009 GB, free: 80.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/3.937, allocations: 414.9 kB / 2.009 GB, free: 79.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/3.937, allocations: 16 kB / 2.009 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/3.939, allocations: 175.7 kB / 2.01 GB, free: 79.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/3.939, allocations: 56.52 kB / 2.01 GB, free: 79.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/3.939, allocations: 55.92 kB / 2.01 GB, free: 79.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001515/3.941, allocations: 0.9219 MB / 2.011 GB, free: 78.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-07/3.941, allocations: 0 / 2.011 GB, free: 78.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003938/3.945, allocations: 1.076 MB / 2.012 GB, free: 77.47 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.007838/3.953, allocations: 3.655 MB / 2.015 GB, free: 73.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00646/3.959, allocations: 2.079 MB / 2.017 GB, free: 71.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/3.959, allocations: 0 / 2.017 GB, free: 71.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/3.961, allocations: 0.6593 MB / 2.018 GB, free: 71.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/3.965, allocations: 0.7756 MB / 2.019 GB, free: 70.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/3.987, allocations: 13.72 MB / 2.032 GB, free: 56.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/3.988, allocations: 1.294 MB / 2.033 GB, free: 54.97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002109/3.99, allocations: 394.3 kB / 2.034 GB, free: 54.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/3.991, allocations: 0.6281 MB / 2.034 GB, free: 53.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/3.991, allocations: 0 / 2.034 GB, free: 53.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.689/4.68, allocations: 57.21 MB / 2.09 GB, free: 153 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/4.68, allocations: 257.7 kB / 2.09 GB, free: 152.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/8.923, allocations: 0 / 2.09 GB, free: 152.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)