Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 100.1 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.0008124/0.0008125, allocations: 177.3 kB / 15.95 MB, free: 216 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.214/1.214, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.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.0004812/0.0004813, allocations: 15.19 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2044, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.08409/0.2885, allocations: 96.52 MB / 0.8815 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.3123, allocations: 17.78 MB / 0.8989 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.3157, allocations: 91.38 kB / 0.8989 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.3208, allocations: 1.419 MB / 0.9003 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3319, allocations: 3.621 MB / 0.9039 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007289/0.3392, allocations: 2.718 MB / 0.9065 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3804/0.7196, allocations: 4.688 MB / 0.9111 GB, free: 39.79 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.7226, allocations: 1.998 MB / 0.913 GB, free: 39.63 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.7263, allocations: 2.181 MB / 0.9152 GB, free: 39.63 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.728, allocations: 1.552 MB / 0.9167 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.7283, allocations: 124.4 kB / 0.9168 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.7312, allocations: 1.213 MB / 0.918 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.7318, allocations: 0.6289 MB / 0.9186 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.7324, allocations: 0.6636 MB / 0.9193 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.7365, allocations: 3.858 MB / 0.923 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.7365, allocations: 4 kB / 0.923 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7365, allocations: 0 / 0.923 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.425e-05/0.7365, allocations: 2.625 kB / 0.923 GB, free: 39.32 MB / 0.7169 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.005297/0.7419, allocations: 3.192 MB / 0.9261 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.7419, allocations: 8.469 kB / 0.9262 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.7423, allocations: 290.6 kB / 0.9264 GB, free: 37.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/0.7446, allocations: 0.6443 MB / 0.9271 GB, free: 37.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.7485, allocations: 2.517 MB / 0.9295 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.7488, allocations: 308 kB / 0.9298 GB, free: 36.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.7492, allocations: 202.1 kB / 0.93 GB, free: 36.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.7535, allocations: 2.471 MB / 0.9324 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.7536, allocations: 7.875 kB / 0.9324 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.7538, allocations: 88.72 kB / 0.9325 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/0.7539, allocations: 62.86 kB / 0.9326 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004114/0.758, allocations: 2.079 MB / 0.9346 GB, free: 36.43 MB / 0.7169 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.01559/0.7736, allocations: 10.95 MB / 0.9453 GB, free: 31.12 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.7761, allocations: 1.199 MB / 0.9465 GB, free: 31.08 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.7768, allocations: 1.324 MB / 0.9478 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.7787, allocations: 0.983 MB / 0.9487 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 2.776e-06/0.7787, allocations: 0 / 0.9487 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.004928/0.7836, allocations: 2.173 MB / 0.9508 GB, free: 29.21 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.7837, allocations: 486.5 kB / 0.9513 GB, free: 28.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.7869, allocations: 2.512 MB / 0.9538 GB, free: 28.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.7871, allocations: 53.98 kB / 0.9538 GB, free: 28.37 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.788, allocations: 1.319 MB / 0.9551 GB, free: 27.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.7884, allocations: 403.6 kB / 0.9555 GB, free: 27.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.7885, allocations: 30.89 kB / 0.9555 GB, free: 27.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.7886, allocations: 368.8 kB / 0.9559 GB, free: 27.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.79, allocations: 0.6894 MB / 0.9565 GB, free: 27.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.7917, allocations: 1.216 MB / 0.9577 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.7932, allocations: 0.8154 MB / 0.9585 GB, free: 26.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.7932, allocations: 7.188 kB / 0.9585 GB, free: 26.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003817/0.797, allocations: 2.095 MB / 0.9606 GB, free: 26.49 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006219/0.7976, allocations: 4.321 MB / 0.9648 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.7977, allocations: 9.719 kB / 0.9648 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.7977, allocations: 19.06 kB / 0.9648 GB, free: 21.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.7993, allocations: 426.2 kB / 0.9652 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.7994, allocations: 24.64 kB / 0.9653 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.8017, allocations: 338.2 kB / 0.9656 GB, free: 21.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.8019, allocations: 72.12 kB / 0.9656 GB, free: 21.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.8019, allocations: 2.781 kB / 0.9656 GB, free: 21.84 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003258/0.8052, allocations: 1.832 MB / 0.9674 GB, free: 21.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8052, allocations: 15.28 kB / 0.9674 GB, free: 21.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8052, allocations: 17.78 kB / 0.9675 GB, free: 21.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.8068, allocations: 425.2 kB / 0.9679 GB, free: 21.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.8068, allocations: 20.28 kB / 0.9679 GB, free: 21.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.809, allocations: 315 kB / 0.9682 GB, free: 21.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.8091, allocations: 68.38 kB / 0.9683 GB, free: 21.65 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.001311/0.8104, allocations: 0.6908 MB / 0.9689 GB, free: 21.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.8109, allocations: 277.3 kB / 0.9692 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.8145, allocations: 1.955 MB / 0.9711 GB, free: 20.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.8145, allocations: 19.94 kB / 0.9711 GB, free: 20.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8145, allocations: 2.594 kB / 0.9711 GB, free: 20.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00264/0.8171, allocations: 1.511 MB / 0.9726 GB, free: 20.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/0.825, allocations: 4.761 MB / 0.9772 GB, free: 18.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.8251, allocations: 10.08 kB / 0.9773 GB, free: 18.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8263, allocations: 278.7 kB / 0.9775 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.8264, allocations: 10.78 kB / 0.9775 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.8265, allocations: 40.66 kB / 0.9776 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.8265, allocations: 17.72 kB / 0.9776 GB, free: 18.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8265, allocations: 4.906 kB / 0.9776 GB, free: 18.53 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.8318, allocations: 3.382 MB / 0.9809 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.8333, allocations: 0.5869 MB / 0.9815 GB, free: 16.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/0.8338, allocations: 37.27 kB / 0.9815 GB, free: 16.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.8356, allocations: 173.7 kB / 0.9817 GB, free: 16.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.8359, allocations: 119.7 kB / 0.9818 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.836, allocations: 61.66 kB / 0.9818 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002424/0.8384, allocations: 1.74 MB / 0.9835 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8384, allocations: 0 / 0.9835 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003781/0.8422, allocations: 1.411 MB / 0.9849 GB, free: 15.82 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.006286/0.8485, allocations: 5.856 MB / 0.9906 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005296/0.8538, allocations: 2.782 MB / 0.9934 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.8539, allocations: 7.438 kB / 0.9934 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.8555, allocations: 0.8512 MB / 0.9942 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/0.8623, allocations: 1.298 MB / 0.9955 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.8754, allocations: 14.22 MB / 1.009 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.8771, allocations: 1.81 MB / 1.011 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003855/0.881, allocations: 0.6977 MB / 1.012 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.8823, allocations: 1.139 MB / 1.013 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/0.8823, allocations: 0 / 1.013 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.569/5.451, allocations: 74.17 MB / 1.085 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/5.452, allocations: 243.3 kB / 1.086 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.647/11.1, allocations: 0 / 1.086 GB, free: 15.15 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: