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: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.364/1.364, allocations: 252 MB / 268 MB, free: 10.87 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.001267/0.001267, allocations: 182.5 kB / 327.6 MB, free: 2.113 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.586/1.586, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007138/0.0007138, allocations: 78.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 8.75 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.09958/0.2872, allocations: 123.3 MB / 1.022 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3088, allocations: 15.45 MB / 1.037 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.3116, allocations: 63.56 kB / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.3144, allocations: 0.7965 MB / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007032/0.3214, allocations: 2.375 MB / 1.04 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.3267, allocations: 1.919 MB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007775/0.3345, allocations: 5.963 MB / 1.048 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.337, allocations: 1.333 MB / 1.049 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.3403, allocations: 1.517 MB / 1.051 GB, free: 6.289 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.3425, allocations: 1.236 MB / 1.052 GB, free: 5.047 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.3429, allocations: 72 kB / 1.052 GB, free: 4.977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004531/0.3475, allocations: 1.881 MB / 1.054 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.348, allocations: 362.3 kB / 1.054 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.3495, allocations: 0.9499 MB / 1.055 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.3841/0.7336, allocations: 2.81 MB / 1.058 GB, free: 83.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7337, allocations: 1.094 kB / 1.058 GB, free: 83.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7337, allocations: 0 / 1.058 GB, free: 83.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.111e-05/0.7338, allocations: 0 / 1.058 GB, free: 83.79 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.004217/0.738, allocations: 2.097 MB / 1.06 GB, free: 82.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.7381, allocations: 8.406 kB / 1.06 GB, free: 82.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.7435, allocations: 0.7469 MB / 1.061 GB, free: 82.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.7466, allocations: 1.648 MB / 1.062 GB, free: 82.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.7468, allocations: 138.3 kB / 1.062 GB, free: 82.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.747, allocations: 125.9 kB / 1.062 GB, free: 82.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.7509, allocations: 1.736 MB / 1.064 GB, free: 81.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.7509, allocations: 6.469 kB / 1.064 GB, free: 81.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.7511, allocations: 56.72 kB / 1.064 GB, free: 81.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.7511, allocations: 34.84 kB / 1.064 GB, free: 81.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.7558, allocations: 1.536 MB / 1.066 GB, free: 81.91 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.01125/0.7671, allocations: 7.552 MB / 1.073 GB, free: 78.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.7715, allocations: 1.18 MB / 1.074 GB, free: 78.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/0.7737, allocations: 0.6068 MB / 1.075 GB, free: 78.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.7749, allocations: 1.276 MB / 1.076 GB, free: 76.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002523/0.7775, allocations: 0.7002 MB / 1.077 GB, free: 76.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 4.328e-06/0.7775, allocations: 0 / 1.077 GB, free: 76.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01758/0.7951, allocations: 3.264 MB / 1.08 GB, free: 76.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.7952, allocations: 141.8 kB / 1.08 GB, free: 76.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.7971, allocations: 1.268 MB / 1.081 GB, free: 76.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.7973, allocations: 44.73 kB / 1.081 GB, free: 76.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.7978, allocations: 0.7233 MB / 1.082 GB, free: 75.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.7981, allocations: 276.3 kB / 1.082 GB, free: 75.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.7982, allocations: 19.5 kB / 1.082 GB, free: 75.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.7983, allocations: 347.1 kB / 1.083 GB, free: 75.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.8003, allocations: 0.5316 MB / 1.083 GB, free: 75.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.8024, allocations: 0.8175 MB / 1.084 GB, free: 74.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/0.8064, allocations: 1.256 MB / 1.085 GB, free: 74.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.8064, allocations: 6.656 kB / 1.085 GB, free: 74.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005699/0.8121, allocations: 1.688 MB / 1.087 GB, free: 74.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.8123, allocations: 273.6 kB / 1.087 GB, free: 74.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8123, allocations: 5.375 kB / 1.087 GB, free: 74.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.8142, allocations: 0.5459 MB / 1.088 GB, free: 74.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8155, allocations: 252.7 kB / 1.088 GB, free: 74.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.8174, allocations: 1.182 MB / 1.089 GB, free: 73.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.8197, allocations: 243 kB / 1.089 GB, free: 73.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.8199, allocations: 54.5 kB / 1.089 GB, free: 73.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.8199, allocations: 3.938 kB / 1.089 GB, free: 73.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005116/0.825, allocations: 1.515 MB / 1.091 GB, free: 73.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.8251, allocations: 5.688 kB / 1.091 GB, free: 73.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.8273, allocations: 0.5579 MB / 1.091 GB, free: 73.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.8288, allocations: 251.2 kB / 1.092 GB, free: 73.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.8308, allocations: 1.182 MB / 1.093 GB, free: 73.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.8331, allocations: 223.7 kB / 1.093 GB, free: 72.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.8333, allocations: 52.48 kB / 1.093 GB, free: 72.95 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.001065/0.8344, allocations: 475.5 kB / 1.093 GB, free: 72.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/0.8349, allocations: 150.9 kB / 1.094 GB, free: 72.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/0.8535, allocations: 2.171 MB / 1.096 GB, free: 72.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/0.8536, allocations: 7.281 kB / 1.096 GB, free: 72.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.8536, allocations: 0 / 1.096 GB, free: 72.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01602/0.8697, allocations: 2.005 MB / 1.098 GB, free: 72.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.8816, allocations: 3.652 MB / 1.101 GB, free: 71.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.8816, allocations: 7.891 kB / 1.101 GB, free: 71.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.8831, allocations: 183.9 kB / 1.101 GB, free: 71.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/0.8856, allocations: 0.5343 MB / 1.102 GB, free: 71.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.8858, allocations: 29.8 kB / 1.102 GB, free: 71.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.8881, allocations: 1.173 MB / 1.103 GB, free: 70.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8882, allocations: 2.25 kB / 1.103 GB, free: 70.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.8946, allocations: 1.619 MB / 1.105 GB, free: 69.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.8959, allocations: 407.2 kB / 1.105 GB, free: 69.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.8962, allocations: 18.62 kB / 1.105 GB, free: 69.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/0.8987, allocations: 160 kB / 1.105 GB, free: 69.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.8988, allocations: 56.86 kB / 1.105 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.899, allocations: 48.72 kB / 1.105 GB, free: 69.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001595/0.9006, allocations: 0.8706 MB / 1.106 GB, free: 69.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9006, allocations: 0 / 1.106 GB, free: 69.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003812/0.9044, allocations: 1.007 MB / 1.107 GB, free: 69.15 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.002928/0.9074, allocations: 0.9317 MB / 1.108 GB, free: 68.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009376/0.9168, allocations: 2.051 MB / 1.11 GB, free: 68.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.9169, allocations: 0 / 1.11 GB, free: 68.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.9198, allocations: 0.6397 MB / 1.111 GB, free: 68.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005766/0.9256, allocations: 0.7589 MB / 1.111 GB, free: 68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008117/0.9337, allocations: 3.43 MB / 1.115 GB, free: 66.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/0.9346, allocations: 1.253 MB / 1.116 GB, free: 65.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/0.9355, allocations: 159.3 kB / 1.116 GB, free: 65.05 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/0.9355, allocations: 4 kB / 1.116 GB, free: 65.05 MB / 0.698 GB Notification: Performance of Templates: time 0.0572/0.9927, allocations: 37.19 MB / 1.153 GB, free: 29.07 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)