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.323/1.323, allocations: 251.5 MB / 267.4 MB, free: 10.9 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.0009643/0.0009642, allocations: 178.2 kB / 326.5 MB, free: 2.648 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.443/1.443, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007357/0.0007358, allocations: 82.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 10.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.09016/0.2519, allocations: 124.9 MB / 1.019 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.2712, allocations: 15.63 MB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.2736, allocations: 67.56 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.2758, allocations: 0.7926 MB / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.2816, allocations: 2.368 MB / 1.037 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.2861, allocations: 1.924 MB / 1.039 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005923/0.2921, allocations: 5.971 MB / 1.045 GB, free: 12.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.2938, allocations: 1.328 MB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.2961, allocations: 1.497 MB / 1.048 GB, free: 9.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.2976, allocations: 1.244 MB / 1.049 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.2978, allocations: 72 kB / 1.049 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.3015, allocations: 1.878 MB / 1.051 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.3018, allocations: 366.3 kB / 1.051 GB, free: 5.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009489/0.3028, allocations: 0.9093 MB / 1.052 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.3072, allocations: 3.602 MB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3072, allocations: 0 / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3072, allocations: 0 / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.3073, allocations: 0 / 1.055 GB, free: 1.074 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.314/0.6213, allocations: 2.089 MB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6214, allocations: 9.531 kB / 1.058 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/0.6268, allocations: 0.7489 MB / 1.058 GB, free: 155.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.6298, allocations: 1.646 MB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.63, allocations: 136 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.6303, allocations: 128.1 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.6342, allocations: 1.729 MB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.6343, allocations: 7.875 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6344, allocations: 58.52 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.6345, allocations: 34.55 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004311/0.6388, allocations: 1.531 MB / 1.063 GB, free: 155 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.01026/0.649, allocations: 7.549 MB / 1.071 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.6531, allocations: 1.179 MB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.6551, allocations: 0.6034 MB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.6562, allocations: 1.281 MB / 1.074 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/0.6583, allocations: 0.6915 MB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/0.6584, allocations: 0 / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01644/0.6748, allocations: 3.271 MB / 1.078 GB, free: 147.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.6749, allocations: 137.6 kB / 1.078 GB, free: 147.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.6769, allocations: 1.269 MB / 1.079 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.677, allocations: 45.45 kB / 1.079 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.6775, allocations: 0.7178 MB / 1.08 GB, free: 146 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.6777, allocations: 278.5 kB / 1.08 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.6779, allocations: 86.14 kB / 1.08 GB, free: 145.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.6779, allocations: 342.3 kB / 1.08 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.6797, allocations: 0.5364 MB / 1.081 GB, free: 145.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.6816, allocations: 0.8201 MB / 1.082 GB, free: 144.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/0.6852, allocations: 1.258 MB / 1.083 GB, free: 143.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.6853, allocations: 3.969 kB / 1.083 GB, free: 143.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004776/0.69, allocations: 1.681 MB / 1.085 GB, free: 142.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6902, allocations: 275.2 kB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6902, allocations: 6.562 kB / 1.085 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.6922, allocations: 0.5483 MB / 1.085 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.6936, allocations: 256.4 kB / 1.086 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.6955, allocations: 1.171 MB / 1.087 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.6975, allocations: 238 kB / 1.087 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.6976, allocations: 61.66 kB / 1.087 GB, free: 141.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.6976, allocations: 4.188 kB / 1.087 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00414/0.7018, allocations: 1.519 MB / 1.089 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.7018, allocations: 7.938 kB / 1.089 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.7034, allocations: 0.5486 MB / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.7045, allocations: 247.5 kB / 1.089 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.7061, allocations: 1.188 MB / 1.091 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.7079, allocations: 220.4 kB / 1.091 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.708, allocations: 59.61 kB / 1.091 GB, free: 139.1 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * 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.000669/0.7087, allocations: 476.2 kB / 1.091 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.709, allocations: 148.2 kB / 1.091 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.7204, allocations: 2.168 MB / 1.094 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01047/0.7309, allocations: 2.001 MB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7309, allocations: 7.938 kB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/0.7317, allocations: 374.9 kB / 1.096 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/0.7321, allocations: 16 kB / 1.096 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.7338, allocations: 158.6 kB / 1.096 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7339, allocations: 48.58 kB / 1.096 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006607/0.7405, allocations: 1.805 MB / 1.098 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005514/0.746, allocations: 2.135 MB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001613/0.7476, allocations: 0.5519 MB / 1.1 GB, free: 130.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001085/0.7487, allocations: 0.8671 MB / 1.101 GB, free: 129.4 MB / 0.698 GB Notification: Performance of Backend: time 4.8e-07/0.7487, allocations: 0 / 1.101 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007504/0.7563, allocations: 2.709 MB / 1.104 GB, free: 127.1 MB / 0.698 GB Notification: Performance of SimCode: time 0.005302/0.7616, allocations: 4.189 MB / 1.108 GB, free: 122.8 MB / 0.698 GB Notification: Performance of Templates: time 0.05131/0.8129, allocations: 43.73 MB / 1.151 GB, free: 79.36 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)