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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009245, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.9 MB / 0.51 GB, free: 4.91 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005073/0.0005073, allocations: 16 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5194, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1049/0.6243, allocations: 96.55 MB / 0.8223 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02629/0.6506, allocations: 18.2 MB / 0.84 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.6547, allocations: 87.38 kB / 0.8401 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005415/0.6601, allocations: 1.559 MB / 0.8416 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.6719, allocations: 3.621 MB / 0.8452 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00767/0.6796, allocations: 2.546 MB / 0.8477 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009144/0.6887, allocations: 4.685 MB / 0.8522 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/0.6923, allocations: 1.979 MB / 0.8542 GB, free: 9.965 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.697, allocations: 2.164 MB / 0.8563 GB, free: 7.793 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.6998, allocations: 1.544 MB / 0.8578 GB, free: 6.242 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.7003, allocations: 120 kB / 0.8579 GB, free: 6.125 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.7039, allocations: 1.221 MB / 0.8591 GB, free: 4.902 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007168/0.7047, allocations: 0.6149 MB / 0.8597 GB, free: 4.285 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7057, allocations: 0.6602 MB / 0.8603 GB, free: 3.617 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.7105, allocations: 3.834 MB / 0.8641 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7105, allocations: 4 kB / 0.8641 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7105, allocations: 0 / 0.8641 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.131e-05/0.7106, allocations: 0 / 0.8641 GB, free: 15.77 MB / 0.6856 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.005863/0.7165, allocations: 3.189 MB / 0.8672 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7165, allocations: 12.03 kB / 0.8672 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.7192, allocations: 0.64 MB / 0.8678 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.7238, allocations: 2.501 MB / 0.8703 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.7241, allocations: 310.6 kB / 0.8706 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.7244, allocations: 204 kB / 0.8708 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.7288, allocations: 2.438 MB / 0.8731 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.7288, allocations: 3.938 kB / 0.8732 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.729, allocations: 88 kB / 0.8732 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.7291, allocations: 59.92 kB / 0.8733 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004343/0.7335, allocations: 2.087 MB / 0.8753 GB, free: 3.957 MB / 0.6856 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.01366/0.7471, allocations: 10.9 MB / 0.886 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.7498, allocations: 1.218 MB / 0.8872 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009387/0.7507, allocations: 1.327 MB / 0.8885 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/0.7526, allocations: 0.9547 MB / 0.8894 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=115): time 3.036e-06/0.7526, allocations: 0 / 0.8894 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=115): time 0.005114/0.7578, allocations: 2.172 MB / 0.8915 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/0.758, allocations: 483.6 kB / 0.892 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.7612, allocations: 2.509 MB / 0.8944 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.7614, allocations: 57.7 kB / 0.8945 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.7625, allocations: 1.318 MB / 0.8958 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.7629, allocations: 402.3 kB / 0.8962 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.763, allocations: 32 kB / 0.8962 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7631, allocations: 365.9 kB / 0.8965 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.7647, allocations: 0.6793 MB / 0.8972 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.7666, allocations: 1.219 MB / 0.8984 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.7683, allocations: 0.82 MB / 0.8992 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.7683, allocations: 4 kB / 0.8992 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004297/0.7726, allocations: 2.092 MB / 0.9012 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001509/0.7742, allocations: 4.324 MB / 0.9055 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.7742, allocations: 8 kB / 0.9055 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.7742, allocations: 20 kB / 0.9055 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.776, allocations: 423.4 kB / 0.9059 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.403e-05/0.7761, allocations: 31.88 kB / 0.9059 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.7785, allocations: 339.4 kB / 0.9062 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.7786, allocations: 71.97 kB / 0.9063 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.7786, allocations: 4 kB / 0.9063 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003848/0.7825, allocations: 1.832 MB / 0.9081 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.7825, allocations: 12 kB / 0.9081 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7826, allocations: 23.94 kB / 0.9081 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.7843, allocations: 415.7 kB / 0.9085 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.7843, allocations: 27.92 kB / 0.9086 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.7867, allocations: 306 kB / 0.9089 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3745/1.161, allocations: 67.62 kB / 0.9089 GB, free: 169.8 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001797/1.163, allocations: 0.683 MB / 0.9096 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/1.164, allocations: 275.9 kB / 0.9098 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/1.168, allocations: 1.959 MB / 0.9118 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/1.168, allocations: 18.89 kB / 0.9118 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.168, allocations: 3.172 kB / 0.9118 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003278/1.171, allocations: 1.505 MB / 0.9133 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/1.18, allocations: 4.732 MB / 0.9179 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.18, allocations: 5.531 kB / 0.9179 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.182, allocations: 288.1 kB / 0.9182 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.44e-05/1.182, allocations: 16.03 kB / 0.9182 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.182, allocations: 39.7 kB / 0.9182 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-05/1.182, allocations: 12.39 kB / 0.9182 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.182, allocations: 10.22 kB / 0.9182 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.188, allocations: 3.376 MB / 0.9215 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.19, allocations: 0.5795 MB / 0.9221 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/1.19, allocations: 36.41 kB / 0.9221 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.192, allocations: 180.5 kB / 0.9223 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.192, allocations: 120 kB / 0.9224 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.192, allocations: 54.67 kB / 0.9225 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002522/1.195, allocations: 1.74 MB / 0.9242 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.195, allocations: 0.9375 kB / 0.9242 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003378/1.198, allocations: 1.412 MB / 0.9255 GB, free: 163.5 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/1.199, allocations: 0.6474 MB / 0.9262 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005286/1.204, allocations: 2.781 MB / 0.9289 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/1.204, allocations: 3.938 kB / 0.9289 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.206, allocations: 0.861 MB / 0.9297 GB, free: 162.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006044/1.212, allocations: 1.303 MB / 0.931 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006975/1.219, allocations: 5.585 MB / 0.9365 GB, free: 158.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.22, allocations: 1.81 MB / 0.9382 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003148/1.223, allocations: 0.6945 MB / 0.9389 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.224, allocations: 203.4 kB / 0.9391 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/1.224, allocations: 0 / 0.9391 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.06684/1.291, allocations: 50.57 MB / 0.9885 GB, free: 105.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: