Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 252 MB / 268 MB, free: 10.84 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.0009529/0.0009529, allocations: 165.9 kB / 327.6 MB, free: 2.086 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.549/1.549, allocations: 205.4 MB / 0.5786 GB, free: 20.1 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.0007468/0.0007468, allocations: 90.38 kB / 0.6832 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 8.25 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.09295/0.2863, allocations: 113 MB / 1.012 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03004/0.3164, allocations: 21.03 MB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004982/0.3214, allocations: 99.38 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005685/0.3271, allocations: 1.515 MB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.34, allocations: 3.645 MB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008062/0.3481, allocations: 2.495 MB / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3622, allocations: 10.31 MB / 1.05 GB, free: 6.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.3671, allocations: 2.177 MB / 1.052 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006348/0.3735, allocations: 2.504 MB / 1.055 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4246/0.7982, allocations: 2.242 MB / 1.057 GB, free: 43.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.7994, allocations: 133.7 kB / 1.057 GB, free: 43.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006126/0.8056, allocations: 1.812 MB / 1.059 GB, free: 43.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.807, allocations: 0.7279 MB / 1.059 GB, free: 43.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003216/0.8102, allocations: 1.627 MB / 1.061 GB, free: 43.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.8176, allocations: 4.17 MB / 1.065 GB, free: 42.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8177, allocations: 1.656 kB / 1.065 GB, free: 42.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8177, allocations: 2.516 kB / 1.065 GB, free: 42.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002258/0.8179, allocations: 0 / 1.065 GB, free: 42.93 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008787/0.8267, allocations: 3.209 MB / 1.068 GB, free: 41.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.8268, allocations: 9.594 kB / 1.068 GB, free: 41.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/0.8308, allocations: 0.6448 MB / 1.069 GB, free: 41.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/0.8365, allocations: 2.547 MB / 1.071 GB, free: 40.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.8369, allocations: 305.2 kB / 1.072 GB, free: 40.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.8374, allocations: 205.9 kB / 1.072 GB, free: 40.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/0.843, allocations: 2.578 MB / 1.074 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/0.843, allocations: 6.719 kB / 1.074 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.8433, allocations: 89.59 kB / 1.074 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/0.8434, allocations: 61.3 kB / 1.074 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.8486, allocations: 2.295 MB / 1.077 GB, free: 40.02 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.0168/0.8655, allocations: 11.44 MB / 1.088 GB, free: 34.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.8685, allocations: 1.352 MB / 1.089 GB, free: 34.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.8702, allocations: 0.8436 MB / 1.09 GB, free: 34.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/0.871, allocations: 1.327 MB / 1.091 GB, free: 33.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.8731, allocations: 1.079 MB / 1.092 GB, free: 32.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 3.617e-06/0.8731, allocations: 0 / 1.092 GB, free: 32.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.00591/0.879, allocations: 2.494 MB / 1.095 GB, free: 32.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.8792, allocations: 486.1 kB / 1.095 GB, free: 32.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/0.8837, allocations: 2.658 MB / 1.098 GB, free: 31.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/0.8841, allocations: 61.8 kB / 1.098 GB, free: 31.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.8852, allocations: 1.298 MB / 1.099 GB, free: 31.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.8858, allocations: 400 kB / 1.1 GB, free: 31.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.8859, allocations: 31.19 kB / 1.1 GB, free: 31.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.886, allocations: 367.7 kB / 1.1 GB, free: 31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.8878, allocations: 0.8018 MB / 1.101 GB, free: 30.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.89, allocations: 1.349 MB / 1.102 GB, free: 30.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/0.8934, allocations: 1.932 MB / 1.104 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.8935, allocations: 3.156 kB / 1.104 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00534/0.8988, allocations: 2.338 MB / 1.106 GB, free: 29.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.8991, allocations: 426.7 kB / 1.107 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.8991, allocations: 10.34 kB / 1.107 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.558e-05/0.8992, allocations: 18.16 kB / 1.107 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.9011, allocations: 425.5 kB / 1.107 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.987e-05/0.9012, allocations: 26.17 kB / 1.107 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.9045, allocations: 341.7 kB / 1.107 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.9048, allocations: 71.2 kB / 1.107 GB, free: 29.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.9048, allocations: 3.469 kB / 1.107 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.9096, allocations: 2.055 MB / 1.109 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.9096, allocations: 14 kB / 1.109 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9097, allocations: 22.88 kB / 1.109 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.9114, allocations: 426.6 kB / 1.11 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/0.9114, allocations: 22.8 kB / 1.11 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.9147, allocations: 305.1 kB / 1.11 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.915, allocations: 71.97 kB / 1.11 GB, free: 28.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00212/0.9171, allocations: 0.6812 MB / 1.111 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.9182, allocations: 280.2 kB / 1.111 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/0.923, allocations: 2.175 MB / 1.113 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.9231, allocations: 14.88 kB / 1.113 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9231, allocations: 1.781 kB / 1.113 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003159/0.9262, allocations: 1.72 MB / 1.115 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.9365, allocations: 5.264 MB / 1.12 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.9366, allocations: 6.438 kB / 1.12 GB, free: 27.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.938, allocations: 283.1 kB / 1.12 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/0.9381, allocations: 14.38 kB / 1.12 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.9382, allocations: 45.31 kB / 1.12 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.9382, allocations: 10.25 kB / 1.12 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.9383, allocations: 14.5 kB / 1.12 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.9445, allocations: 3.19 MB / 1.124 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/0.9465, allocations: 0.6109 MB / 1.124 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/0.9478, allocations: 30.56 kB / 1.124 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/0.9508, allocations: 188.3 kB / 1.124 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.9512, allocations: 116 kB / 1.125 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/0.9515, allocations: 55.91 kB / 1.125 GB, free: 25.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004075/0.9555, allocations: 1.856 MB / 1.126 GB, free: 25.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9556, allocations: 0 / 1.126 GB, free: 25.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006703/0.9623, allocations: 1.426 MB / 1.128 GB, free: 25.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/0.9642, allocations: 0.6422 MB / 1.128 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007235/0.9715, allocations: 3.121 MB / 1.131 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.9715, allocations: 3.094 kB / 1.131 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.9736, allocations: 0.9134 MB / 1.132 GB, free: 24.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/0.985, allocations: 1.397 MB / 1.134 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.9955, allocations: 5.975 MB / 1.14 GB, free: 20.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.9971, allocations: 1.751 MB / 1.141 GB, free: 19.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/0.9989, allocations: 252.5 kB / 1.142 GB, free: 18.81 MB / 0.698 GB Notification: Performance of SimCode: time 3.256e-06/0.9989, allocations: 0 / 1.142 GB, free: 18.81 MB / 0.698 GB Notification: Performance of Templates: time 0.07457/1.073, allocations: 48.48 MB / 1.189 GB, free: 3.418 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)