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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 222 MB, free: 4.738 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.753/1.753, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001285/0.001285, allocations: 66.92 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1048/0.3664, allocations: 114.8 MB / 0.8947 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.3958, allocations: 20.82 MB / 0.9151 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/0.4007, allocations: 95.44 kB / 0.9151 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.4058, allocations: 1.383 MB / 0.9165 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.4166, allocations: 3.636 MB / 0.9201 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.4744/0.891, allocations: 2.62 MB / 0.9226 GB, free: 44.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.9048, allocations: 10.33 MB / 0.9327 GB, free: 44.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004428/0.9093, allocations: 2.268 MB / 0.9349 GB, free: 44.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006229/0.9155, allocations: 2.546 MB / 0.9374 GB, free: 44.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004515/0.9201, allocations: 2.345 MB / 0.9397 GB, free: 44.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.9209, allocations: 168.4 kB / 0.9398 GB, free: 44.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00651/0.9274, allocations: 1.853 MB / 0.9417 GB, free: 44.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.9291, allocations: 0.7938 MB / 0.9424 GB, free: 44.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003518/0.9326, allocations: 1.678 MB / 0.9441 GB, free: 43.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00816/0.9408, allocations: 5.372 MB / 0.9493 GB, free: 43.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.9408, allocations: 0 / 0.9493 GB, free: 43.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9408, allocations: 3.656 kB / 0.9493 GB, free: 43.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000134/0.941, allocations: 0 / 0.9493 GB, free: 43.14 MB / 0.7325 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.01014/0.9511, allocations: 3.852 MB / 0.9531 GB, free: 41.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.9512, allocations: 10.03 kB / 0.9531 GB, free: 41.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/0.955, allocations: 0.5792 MB / 0.9537 GB, free: 41.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006408/0.9614, allocations: 2.562 MB / 0.9562 GB, free: 40.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.9618, allocations: 308.8 kB / 0.9565 GB, free: 40.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.9623, allocations: 201 kB / 0.9566 GB, free: 40.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005334/0.9676, allocations: 2.566 MB / 0.9592 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.9677, allocations: 6.922 kB / 0.9592 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.9679, allocations: 89.06 kB / 0.9592 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.653e-05/0.968, allocations: 60.61 kB / 0.9593 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/0.9724, allocations: 2.222 MB / 0.9615 GB, free: 40.09 MB / 0.7325 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.01407/0.9865, allocations: 11.43 MB / 0.9726 GB, free: 34.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.9891, allocations: 1.312 MB / 0.9739 GB, free: 34.61 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.9906, allocations: 0.8093 MB / 0.9747 GB, free: 34.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/0.9913, allocations: 1.322 MB / 0.976 GB, free: 32.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/0.9932, allocations: 1.067 MB / 0.977 GB, free: 32.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=115): time 2.875e-06/0.9932, allocations: 0 / 0.977 GB, free: 32.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=115): time 0.00512/0.9983, allocations: 2.379 MB / 0.9794 GB, free: 32.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.9985, allocations: 489 kB / 0.9798 GB, free: 31.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/1.002, allocations: 2.659 MB / 0.9824 GB, free: 30.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002089/1.002, allocations: 53.98 kB / 0.9825 GB, free: 30.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008911/1.003, allocations: 1.304 MB / 0.9838 GB, free: 29.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/1.003, allocations: 399.6 kB / 0.9841 GB, free: 29.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005064/1.004, allocations: 338.2 kB / 0.9845 GB, free: 28.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.004, allocations: 304.3 kB / 0.9847 GB, free: 28.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/1.005, allocations: 0.7769 MB / 0.9855 GB, free: 28.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.007, allocations: 1.307 MB / 0.9868 GB, free: 27.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/1.01, allocations: 1.867 MB / 0.9886 GB, free: 25.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.01, allocations: 6.625 kB / 0.9886 GB, free: 25.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004373/1.015, allocations: 2.256 MB / 0.9908 GB, free: 24.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/1.015, allocations: 39.25 kB / 0.9909 GB, free: 24.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.015, allocations: 9.938 kB / 0.9909 GB, free: 24.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/1.015, allocations: 18.97 kB / 0.9909 GB, free: 24.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.016, allocations: 414.6 kB / 0.9913 GB, free: 24.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/1.016, allocations: 26.2 kB / 0.9913 GB, free: 24.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.019, allocations: 315.2 kB / 0.9916 GB, free: 24.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.019, allocations: 67.33 kB / 0.9917 GB, free: 24.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002452/1.022, allocations: 1.284 MB / 0.9929 GB, free: 23.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/1.024, allocations: 1.298 MB / 0.9942 GB, free: 22.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003083/1.027, allocations: 1.854 MB / 0.996 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.183e-06/1.027, allocations: 6.344 kB / 0.996 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004543/1.031, allocations: 2.249 MB / 0.9982 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.031, allocations: 38.75 kB / 0.9982 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.031, allocations: 9.938 kB / 0.9982 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.031, allocations: 17.19 kB / 0.9983 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.033, allocations: 406.4 kB / 0.9987 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/1.033, allocations: 21.19 kB / 0.9987 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/1.036, allocations: 268.4 kB / 0.9989 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.036, allocations: 68.89 kB / 0.999 GB, free: 20.03 MB / 0.7325 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 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * 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.000542/1.037, allocations: 290.5 kB / 0.9993 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/1.037, allocations: 282.8 kB / 0.9995 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/1.041, allocations: 2.099 MB / 1.002 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.041, allocations: 16 kB / 1.002 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.041, allocations: 0 / 1.002 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002743/1.044, allocations: 1.652 MB / 1.003 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/1.052, allocations: 5.21 MB / 1.008 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.052, allocations: 8 kB / 1.008 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.054, allocations: 263.9 kB / 1.009 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.054, allocations: 12 kB / 1.009 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/1.054, allocations: 39.97 kB / 1.009 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/1.054, allocations: 11.28 kB / 1.009 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.054, allocations: 10.53 kB / 1.009 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005182/1.059, allocations: 3.079 MB / 1.012 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.06, allocations: 0.5833 MB / 1.012 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.061, allocations: 31.66 kB / 1.012 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.062, allocations: 163.7 kB / 1.012 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/1.063, allocations: 114.5 kB / 1.013 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.063, allocations: 63.95 kB / 1.013 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002286/1.065, allocations: 1.852 MB / 1.014 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.065, allocations: 0 / 1.014 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003675/1.069, allocations: 1.435 MB / 1.016 GB, free: 3.531 MB / 0.7325 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.001283/1.07, allocations: 0.6435 MB / 1.016 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005432/1.076, allocations: 3.004 MB / 1.019 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.076, allocations: 4.938 kB / 1.019 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.078, allocations: 0.9273 MB / 1.02 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006598/1.084, allocations: 1.329 MB / 1.022 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/1.093, allocations: 5.776 MB / 1.027 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.094, allocations: 1.761 MB / 1.029 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003346/1.098, allocations: 0.7101 MB / 1.03 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/1.098, allocations: 218.8 kB / 1.03 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of SimCode: time 9.41e-07/1.098, allocations: 0 / 1.03 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of Templates: time 0.0837/1.182, allocations: 54.35 MB / 1.083 GB, free: 15.89 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)