Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001564/0.001563, allocations: 178 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001187/0.001186, allocations: 94.34 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005246, allocations: 11.5 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2344, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/1.557, allocations: 426.5 MB / 1.395 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/1.557, allocations: 96.95 kB / 1.395 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.415/4.972, allocations: 0.5553 GB / 1.95 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.504e-06/4.972, allocations: 0 / 1.95 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003048/4.972, allocations: 50.81 kB / 1.95 GB, free: 175.2 MB / 0.9323 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.008646/4.981, allocations: 2.239 MB / 1.952 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/4.981, allocations: 13.84 kB / 1.952 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008367/4.982, allocations: 190.1 kB / 1.953 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009583/4.992, allocations: 0.6854 MB / 1.953 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/4.998, allocations: 1.875 MB / 1.955 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/4.998, allocations: 133.8 kB / 1.955 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/4.999, allocations: 130.9 kB / 1.955 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007458/5.006, allocations: 1.733 MB / 1.957 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/5.006, allocations: 0 / 1.957 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/5.007, allocations: 57.78 kB / 1.957 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/5.007, allocations: 37.84 kB / 1.957 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009487/5.016, allocations: 1.536 MB / 1.959 GB, free: 169.9 MB / 0.9323 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.01849/5.035, allocations: 7.515 MB / 1.966 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008023/5.043, allocations: 1.235 MB / 1.967 GB, free: 163 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/5.045, allocations: 1.273 MB / 1.968 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004418/5.049, allocations: 0.7198 MB / 1.969 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 5.801e-06/5.049, allocations: 3.938 kB / 1.969 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.04326/5.093, allocations: 3.585 MB / 1.973 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/5.093, allocations: 162.9 kB / 1.973 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/5.096, allocations: 1.188 MB / 1.974 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004064/5.096, allocations: 45.7 kB / 1.974 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009412/5.097, allocations: 0.7374 MB / 1.975 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/5.098, allocations: 273.6 kB / 1.975 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/5.098, allocations: 16 kB / 1.975 GB, free: 156 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001026/5.098, allocations: 337.9 kB / 1.975 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/5.102, allocations: 0.5454 MB / 1.976 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004223/5.106, allocations: 0.8523 MB / 1.977 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004055/5.11, allocations: 0.5923 MB / 1.977 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/5.11, allocations: 3.953 kB / 1.977 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01035/5.121, allocations: 1.694 MB / 1.979 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005822/5.121, allocations: 2.408 MB / 1.981 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/5.121, allocations: 7.906 kB / 1.981 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/5.125, allocations: 0.5729 MB / 1.982 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/5.128, allocations: 248.7 kB / 1.982 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/5.131, allocations: 1.178 MB / 1.983 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/5.135, allocations: 249.5 kB / 1.984 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/5.136, allocations: 59.94 kB / 1.984 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/5.136, allocations: 4 kB / 1.984 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009346/5.145, allocations: 1.501 MB / 1.985 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/5.145, allocations: 8 kB / 1.985 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/5.148, allocations: 0.572 MB / 1.986 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/5.151, allocations: 243.8 kB / 1.986 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/5.154, allocations: 1.174 MB / 1.987 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003982/5.158, allocations: 226.8 kB / 1.987 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/5.159, allocations: 55.95 kB / 1.987 GB, free: 143.4 MB / 0.9323 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.001593/5.16, allocations: 474.8 kB / 1.988 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/5.161, allocations: 156.6 kB / 1.988 GB, free: 142.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/5.171, allocations: 1.665 MB / 1.989 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/5.171, allocations: 8 kB / 1.989 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/5.171, allocations: 0 / 1.989 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008832/5.18, allocations: 1.45 MB / 1.991 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/5.194, allocations: 3.336 MB / 1.994 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/5.195, allocations: 7.938 kB / 1.994 GB, free: 136.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/5.197, allocations: 195.5 kB / 1.994 GB, free: 136.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/5.2, allocations: 0.5465 MB / 1.995 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/5.2, allocations: 35.95 kB / 1.995 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/5.204, allocations: 1.174 MB / 1.996 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/5.204, allocations: 4 kB / 1.996 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009506/5.213, allocations: 1.707 MB / 1.998 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/5.215, allocations: 418.9 kB / 1.998 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/5.215, allocations: 20 kB / 1.998 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/5.219, allocations: 163.7 kB / 1.998 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/5.22, allocations: 64.47 kB / 1.998 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/5.22, allocations: 51.94 kB / 1.998 GB, free: 131.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002345/5.222, allocations: 0.9258 MB / 1.999 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.21e-07/5.222, allocations: 0 / 1.999 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005667/5.228, allocations: 1.082 MB / 2 GB, free: 129.8 MB / 0.9323 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.01358/5.242, allocations: 3.648 MB / 2.004 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01313/5.255, allocations: 2.074 MB / 2.006 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/5.255, allocations: 4.062 kB / 2.006 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/5.259, allocations: 0.659 MB / 2.007 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007003/5.266, allocations: 0.7649 MB / 2.007 GB, free: 123 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/5.305, allocations: 13.72 MB / 2.021 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/5.306, allocations: 1.29 MB / 2.022 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003401/5.31, allocations: 391.7 kB / 2.022 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/5.311, allocations: 0.6281 MB / 2.023 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of SimCode: time 8.91e-07/5.311, allocations: 3.938 kB / 2.023 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/5.453, allocations: 57.21 MB / 2.079 GB, free: 50.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/5.453, allocations: 252.4 kB / 2.079 GB, free: 49.99 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.305/10.76, allocations: 4 kB / 2.079 GB, free: 49.99 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)