Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 114.8 kB / 16.37 MB, free: 5.535 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.001322/0.001322, allocations: 189.2 kB / 17.31 MB, free: 5.184 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.925/1.925, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001276/0.001276, allocations: 72.12 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2484, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003525/0.252, allocations: 2.389 MB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4478/0.6998, allocations: 1.415 MB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.7001, allocations: 2.625 kB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.7009, allocations: 210.4 kB / 0.7887 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.701, allocations: 69.27 kB / 0.7888 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.7014, allocations: 130 kB / 0.7889 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.7017, allocations: 326.9 kB / 0.7892 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.7019, allocations: 46.56 kB / 0.7892 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.7021, allocations: 130.3 kB / 0.7894 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.7024, allocations: 187 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.7024, allocations: 31.88 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.7026, allocations: 64.48 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.7027, allocations: 122.8 kB / 0.7898 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.7029, allocations: 176.1 kB / 0.7899 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.7033, allocations: 0.4883 MB / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7033, allocations: 0 / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7034, allocations: 0.9062 kB / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.7034, allocations: 0 / 0.7904 GB, free: 46.34 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001142/0.7045, allocations: 0.7047 MB / 0.7911 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.7046, allocations: 7.875 kB / 0.7911 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/0.7054, allocations: 143.6 kB / 0.7912 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.7058, allocations: 356.2 kB / 0.7916 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.7059, allocations: 85.36 kB / 0.7917 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.706, allocations: 13.44 kB / 0.7917 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.7067, allocations: 300.6 kB / 0.792 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7067, allocations: 0.6562 kB / 0.792 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.7068, allocations: 5.688 kB / 0.792 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7068, allocations: 3.312 kB / 0.792 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.7078, allocations: 419.6 kB / 0.7924 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.7093, allocations: 0.8638 MB / 0.7932 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.7099, allocations: 276.5 kB / 0.7935 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.7104, allocations: 217.9 kB / 0.7937 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.7105, allocations: 7.125 kB / 0.7937 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.7105, allocations: 34.06 kB / 0.7937 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.7105, allocations: 0 / 0.7937 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.00164/0.7122, allocations: 0.6459 MB / 0.7944 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.7122, allocations: 56.75 kB / 0.7944 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.7126, allocations: 428.7 kB / 0.7948 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.7126, allocations: 29.02 kB / 0.7948 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7127, allocations: 179.9 kB / 0.795 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.7128, allocations: 55.86 kB / 0.7951 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.7129, allocations: 41.44 kB / 0.7951 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.713, allocations: 348.7 kB / 0.7954 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.7135, allocations: 194.7 kB / 0.7956 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.714, allocations: 235.3 kB / 0.7959 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.715, allocations: 366.9 kB / 0.7962 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.715, allocations: 0 / 0.7962 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001076/0.7161, allocations: 463.9 kB / 0.7966 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7161, allocations: 6.906 kB / 0.7967 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7161, allocations: 0 / 0.7967 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7162, allocations: 2.719 kB / 0.7967 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.7166, allocations: 65.8 kB / 0.7967 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.7166, allocations: 5.312 kB / 0.7967 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.717, allocations: 48.45 kB / 0.7968 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.717, allocations: 4.969 kB / 0.7968 GB, free: 44.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001491/0.7172, allocations: 166.9 kB / 0.7969 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.7172, allocations: 44.19 kB / 0.797 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.7173, allocations: 38.75 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7173, allocations: 4.219 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7173, allocations: 3.938 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7173, allocations: 0.8125 kB / 0.797 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.7178, allocations: 473.8 kB / 0.7975 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7178, allocations: 3.891 kB / 0.7975 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.7183, allocations: 64.16 kB / 0.7975 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7183, allocations: 0 / 0.7975 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.7183, allocations: 9 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7183, allocations: 3.438 kB / 0.7975 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7183, allocations: 5.438 kB / 0.7976 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.7195, allocations: 0.5539 MB / 0.7981 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.7196, allocations: 110.7 kB / 0.7982 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.7196, allocations: 10.56 kB / 0.7982 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.72, allocations: 27.5 kB / 0.7982 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.7201, allocations: 32.08 kB / 0.7983 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.7201, allocations: 4 kB / 0.7983 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002813/0.7204, allocations: 314.9 kB / 0.7986 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7204, allocations: 4 kB / 0.7986 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003236/0.7207, allocations: 69.62 kB / 0.7986 GB, free: 43.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001242/0.7209, allocations: 96.34 kB / 0.7987 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.7221, allocations: 437.5 kB / 0.7991 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7221, allocations: 3.938 kB / 0.7992 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.7227, allocations: 223.5 kB / 0.7994 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.7231, allocations: 52.16 kB / 0.7994 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.7245, allocations: 0.7008 MB / 0.8001 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7248, allocations: 0.7959 MB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.725, allocations: 29.36 kB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.725, allocations: 1.031 kB / 0.8009 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.01131/0.7364, allocations: 4.96 MB / 0.8057 GB, free: 41.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)