Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 172.9 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.000978, allocations: 94.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 11.16 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1084/0.3555, allocations: 123.3 MB / 1.021 GB, free: 3.668 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.38, allocations: 15.44 MB / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.3837, allocations: 67.5 kB / 1.036 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.387, allocations: 0.8004 MB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008748/0.3958, allocations: 2.359 MB / 1.04 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006232/0.402, allocations: 1.926 MB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008432/0.4105, allocations: 5.958 MB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.4131, allocations: 1.344 MB / 1.049 GB, free: 7.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.4168, allocations: 1.505 MB / 1.05 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.4192, allocations: 1.244 MB / 1.051 GB, free: 4.934 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.4194, allocations: 76 kB / 1.051 GB, free: 4.859 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004856/0.4243, allocations: 1.877 MB / 1.053 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.4248, allocations: 362.3 kB / 1.054 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.4264, allocations: 0.9461 MB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5999/1.026, allocations: 3.587 MB / 1.058 GB, free: 84.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.026, allocations: 0.7812 kB / 1.058 GB, free: 84.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.998e-06/1.026, allocations: 2.734 kB / 1.058 GB, free: 84.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.78e-05/1.027, allocations: 3.688 kB / 1.058 GB, free: 84.37 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006725/1.033, allocations: 2.1 MB / 1.06 GB, free: 83.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/1.033, allocations: 9 kB / 1.06 GB, free: 83.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004596/1.034, allocations: 190.9 kB / 1.06 GB, free: 83.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008922/1.043, allocations: 0.751 MB / 1.061 GB, free: 83.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/1.049, allocations: 1.644 MB / 1.063 GB, free: 82.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/1.049, allocations: 131.2 kB / 1.063 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/1.049, allocations: 125 kB / 1.063 GB, free: 82.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/1.056, allocations: 1.738 MB / 1.064 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/1.056, allocations: 7.375 kB / 1.064 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/1.056, allocations: 54.88 kB / 1.065 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.959e-05/1.056, allocations: 39.19 kB / 1.065 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/1.064, allocations: 1.535 MB / 1.066 GB, free: 82.39 MB / 0.698 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.01913/1.083, allocations: 7.545 MB / 1.073 GB, free: 78.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006966/1.09, allocations: 1.183 MB / 1.075 GB, free: 78.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/1.093, allocations: 0.6021 MB / 1.075 GB, free: 78.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/1.095, allocations: 1.281 MB / 1.076 GB, free: 77.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003943/1.099, allocations: 0.6995 MB / 1.077 GB, free: 77.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 7.494e-06/1.099, allocations: 0 / 1.077 GB, free: 77.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.0281/1.128, allocations: 3.263 MB / 1.08 GB, free: 76.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/1.128, allocations: 136.7 kB / 1.08 GB, free: 76.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/1.132, allocations: 1.276 MB / 1.082 GB, free: 76.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003996/1.133, allocations: 46.08 kB / 1.082 GB, free: 76.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/1.134, allocations: 0.7189 MB / 1.082 GB, free: 76.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006498/1.134, allocations: 276.1 kB / 1.083 GB, free: 76.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/1.135, allocations: 16.5 kB / 1.083 GB, free: 76.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.135, allocations: 346.1 kB / 1.083 GB, free: 75.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.138, allocations: 0.5359 MB / 1.084 GB, free: 75.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/1.142, allocations: 0.8139 MB / 1.084 GB, free: 75.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/1.148, allocations: 1.261 MB / 1.086 GB, free: 75.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/1.148, allocations: 1.031 kB / 1.086 GB, free: 75.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.009331/1.158, allocations: 1.691 MB / 1.087 GB, free: 75.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003405/1.158, allocations: 268.7 kB / 1.087 GB, free: 74.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.158, allocations: 10.66 kB / 1.087 GB, free: 74.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/1.161, allocations: 0.5429 MB / 1.088 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.163, allocations: 260.3 kB / 1.088 GB, free: 74.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/1.167, allocations: 1.184 MB / 1.089 GB, free: 74.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/1.17, allocations: 240.5 kB / 1.09 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003811/1.171, allocations: 56.25 kB / 1.09 GB, free: 74.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.171, allocations: 3.375 kB / 1.09 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008698/1.18, allocations: 1.515 MB / 1.091 GB, free: 74.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/1.18, allocations: 6.094 kB / 1.091 GB, free: 74.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/1.183, allocations: 0.5521 MB / 1.092 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.185, allocations: 248.4 kB / 1.092 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/1.188, allocations: 1.18 MB / 1.093 GB, free: 73.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.192, allocations: 220.4 kB / 1.093 GB, free: 73.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.192, allocations: 60.67 kB / 1.093 GB, free: 73.44 MB / 0.698 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001752/1.194, allocations: 469.1 kB / 1.094 GB, free: 73.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/1.195, allocations: 151.4 kB / 1.094 GB, free: 73.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.211, allocations: 2.174 MB / 1.096 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/1.211, allocations: 7.094 kB / 1.096 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.211, allocations: 2.188 kB / 1.096 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/1.223, allocations: 1.999 MB / 1.098 GB, free: 72.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009341/1.232, allocations: 3.659 MB / 1.102 GB, free: 71.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.232, allocations: 2.75 kB / 1.102 GB, free: 71.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.233, allocations: 185.5 kB / 1.102 GB, free: 71.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/1.235, allocations: 0.529 MB / 1.102 GB, free: 71.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.235, allocations: 36.66 kB / 1.102 GB, free: 71.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.237, allocations: 1.163 MB / 1.104 GB, free: 70.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.237, allocations: 2.438 kB / 1.104 GB, free: 70.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/1.242, allocations: 1.618 MB / 1.105 GB, free: 70.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.243, allocations: 408.1 kB / 1.105 GB, free: 69.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/1.244, allocations: 19.5 kB / 1.106 GB, free: 69.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.246, allocations: 165.4 kB / 1.106 GB, free: 69.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.246, allocations: 45.88 kB / 1.106 GB, free: 69.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.247, allocations: 52.05 kB / 1.106 GB, free: 69.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001824/1.248, allocations: 0.8677 MB / 1.107 GB, free: 69.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/1.248, allocations: 4 kB / 1.107 GB, free: 69.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004145/1.253, allocations: 1.007 MB / 1.108 GB, free: 69.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007814/1.26, allocations: 2.992 MB / 1.111 GB, free: 67.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007159/1.268, allocations: 2.052 MB / 1.113 GB, free: 67.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.268, allocations: 2.844 kB / 1.113 GB, free: 67.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.27, allocations: 0.6425 MB / 1.113 GB, free: 67.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/1.275, allocations: 0.7555 MB / 1.114 GB, free: 67.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/1.311, allocations: 13.38 MB / 1.127 GB, free: 56.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.312, allocations: 1.257 MB / 1.128 GB, free: 55.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002419/1.314, allocations: 371.9 kB / 1.129 GB, free: 55.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.315, allocations: 0.6213 MB / 1.129 GB, free: 55.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.315, allocations: 7.938 kB / 1.129 GB, free: 55.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07776/1.393, allocations: 50.51 MB / 1.178 GB, free: 5.242 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/1.393, allocations: 294.5 kB / 1.179 GB, free: 4.855 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.066/5.459, allocations: 0 / 1.179 GB, free: 4.855 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)