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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",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.451/1.451, 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.001037/0.001037, allocations: 174.6 kB / 327 MB, free: 2.09 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.924/1.924, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008015/0.0008015, allocations: 97.89 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003789, allocations: 8.812 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1034/0.3622, allocations: 113 MB / 1.011 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03505/0.3973, allocations: 21.04 MB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006734/0.4041, allocations: 95.38 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007021/0.4112, allocations: 1.519 MB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.426, allocations: 3.644 MB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008592/0.4346, allocations: 2.489 MB / 1.039 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01576/0.4504, allocations: 10.31 MB / 1.049 GB, free: 6.855 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004997/0.4554, allocations: 2.185 MB / 1.052 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006924/0.4624, allocations: 2.5 MB / 1.054 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6182/1.081, allocations: 2.246 MB / 1.056 GB, free: 43.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001603/1.082, allocations: 134.9 kB / 1.056 GB, free: 43.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00838/1.091, allocations: 1.812 MB / 1.058 GB, free: 43.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/1.092, allocations: 0.7277 MB / 1.059 GB, free: 43.1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004052/1.096, allocations: 1.624 MB / 1.06 GB, free: 43.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.11, allocations: 5.213 MB / 1.065 GB, free: 42.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.11, allocations: 4.344 kB / 1.065 GB, free: 42.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.37e-06/1.11, allocations: 2.625 kB / 1.065 GB, free: 42.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002024/1.11, allocations: 3 kB / 1.065 GB, free: 42.94 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.01087/1.121, allocations: 3.218 MB / 1.069 GB, free: 41.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/1.121, allocations: 12.22 kB / 1.069 GB, free: 41.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/1.122, allocations: 287 kB / 1.069 GB, free: 41.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.126, allocations: 0.6359 MB / 1.07 GB, free: 41.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005976/1.132, allocations: 2.551 MB / 1.072 GB, free: 40.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.132, allocations: 309.6 kB / 1.072 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/1.133, allocations: 200.4 kB / 1.072 GB, free: 40.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006483/1.139, allocations: 2.575 MB / 1.075 GB, free: 40.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/1.139, allocations: 6.5 kB / 1.075 GB, free: 40.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/1.14, allocations: 84.28 kB / 1.075 GB, free: 40.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.14, allocations: 66.97 kB / 1.075 GB, free: 40.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005982/1.146, allocations: 2.289 MB / 1.077 GB, free: 39.99 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.01942/1.165, allocations: 11.45 MB / 1.089 GB, free: 34.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/1.168, allocations: 1.349 MB / 1.09 GB, free: 34.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.17, allocations: 0.8456 MB / 1.091 GB, free: 34.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000981/1.171, allocations: 1.322 MB / 1.092 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/1.173, allocations: 1.074 MB / 1.093 GB, free: 32.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 7.724e-06/1.173, allocations: 4 kB / 1.093 GB, free: 32.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.006365/1.18, allocations: 2.497 MB / 1.095 GB, free: 32.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/1.18, allocations: 478.3 kB / 1.096 GB, free: 32.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/1.186, allocations: 2.659 MB / 1.099 GB, free: 31.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003649/1.186, allocations: 56.48 kB / 1.099 GB, free: 31.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.187, allocations: 1.314 MB / 1.1 GB, free: 31.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/1.188, allocations: 394 kB / 1.1 GB, free: 31.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.188, allocations: 29.25 kB / 1.1 GB, free: 31.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.188, allocations: 369 kB / 1.101 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/1.19, allocations: 0.8052 MB / 1.101 GB, free: 30.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/1.193, allocations: 1.343 MB / 1.103 GB, free: 30.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/1.197, allocations: 1.935 MB / 1.105 GB, free: 29.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.197, allocations: 3.125 kB / 1.105 GB, free: 29.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007067/1.204, allocations: 2.335 MB / 1.107 GB, free: 29.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000382/1.204, allocations: 425 kB / 1.107 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.204, allocations: 10 kB / 1.107 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.957e-05/1.205, allocations: 21.44 kB / 1.107 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/1.207, allocations: 432.1 kB / 1.108 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.336e-05/1.207, allocations: 20.75 kB / 1.108 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.211, allocations: 338.2 kB / 1.108 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/1.211, allocations: 69.75 kB / 1.108 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.211, allocations: 4.188 kB / 1.108 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005024/1.216, allocations: 2.062 MB / 1.11 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/1.216, allocations: 9.812 kB / 1.11 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/1.216, allocations: 16.84 kB / 1.11 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.218, allocations: 432.2 kB / 1.111 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.756e-05/1.218, allocations: 22.55 kB / 1.111 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.222, allocations: 307 kB / 1.111 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/1.222, allocations: 66.38 kB / 1.111 GB, free: 28.86 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.002294/1.224, allocations: 0.6907 MB / 1.112 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.226, allocations: 277.3 kB / 1.112 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/1.231, allocations: 2.169 MB / 1.114 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/1.231, allocations: 24.27 kB / 1.114 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.231, allocations: 0 / 1.114 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003648/1.235, allocations: 1.718 MB / 1.116 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.248, allocations: 5.261 MB / 1.121 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.248, allocations: 6.312 kB / 1.121 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.25, allocations: 290.7 kB / 1.121 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.704e-05/1.25, allocations: 10.69 kB / 1.121 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.25, allocations: 32.17 kB / 1.121 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-05/1.25, allocations: 13.5 kB / 1.121 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.25, allocations: 14.02 kB / 1.121 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/1.257, allocations: 3.197 MB / 1.124 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.259, allocations: 0.6077 MB / 1.125 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.26, allocations: 32.73 kB / 1.125 GB, free: 25.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003107/1.264, allocations: 190.2 kB / 1.125 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.264, allocations: 107.9 kB / 1.125 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.264, allocations: 60.83 kB / 1.125 GB, free: 25.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004911/1.269, allocations: 1.845 MB / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/1.269, allocations: 4 kB / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007722/1.277, allocations: 1.427 MB / 1.129 GB, free: 24.79 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.009509/1.286, allocations: 4.295 MB / 1.133 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007013/1.293, allocations: 3.119 MB / 1.136 GB, free: 22.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/1.293, allocations: 0 / 1.136 GB, free: 22.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.296, allocations: 0.9629 MB / 1.137 GB, free: 22.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/1.307, allocations: 1.404 MB / 1.138 GB, free: 22.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06083/1.368, allocations: 25.47 MB / 1.163 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/1.371, allocations: 1.763 MB / 1.165 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004839/1.375, allocations: 0.6961 MB / 1.165 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/1.378, allocations: 1.163 MB / 1.166 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of SimCode: time 1.462e-06/1.378, allocations: 0 / 1.166 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/1.531, allocations: 80.17 MB / 1.245 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/1.532, allocations: 282.8 kB / 1.245 GB, free: 8.422 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.892/7.424, allocations: 4 kB / 1.245 GB, free: 8.418 MB / 0.7917 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)