Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.857/1.857, allocations: 287.5 MB / 302.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001008, allocations: 176.4 kB / 371.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 89.42 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 15.12 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2013, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002796/0.2041, allocations: 1.996 MB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2067, allocations: 1.584 MB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.2071, allocations: 4 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009712/0.2081, allocations: 246.8 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.2084, allocations: 63.47 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2088, allocations: 95.83 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.2093, allocations: 298.8 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2095, allocations: 48.72 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.2098, allocations: 119.5 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.2101, allocations: 175.4 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.2102, allocations: 20 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.2104, allocations: 51.97 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2106, allocations: 111.7 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2107, allocations: 81.52 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.2111, allocations: 379.3 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2112, allocations: 4 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2112, allocations: 3.938 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.2112, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 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.001441/0.2126, allocations: 0.6617 MB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.2127, allocations: 12.03 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2138, allocations: 172.3 kB / 0.9846 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.2144, allocations: 350.3 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.2146, allocations: 84.17 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.2147, allocations: 16.38 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.2157, allocations: 319.4 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2157, allocations: 0 / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.2158, allocations: 4 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2158, allocations: 4 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.2172, allocations: 464.3 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.2193, allocations: 0.8784 MB / 0.9867 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.2201, allocations: 298.4 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.2208, allocations: 238.4 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.2209, allocations: 4 kB / 0.9872 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2209, allocations: 38.5 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/0.2209, allocations: 0 / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.002211/0.2231, allocations: 0.7158 MB / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2232, allocations: 55.34 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.2237, allocations: 421.6 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.2237, allocations: 29.7 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.2239, allocations: 176 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/0.224, allocations: 63.12 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.224, allocations: 0 / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.2241, allocations: 350.8 kB / 0.989 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.2247, allocations: 223.8 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.2254, allocations: 257.2 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2267, allocations: 411 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2267, allocations: 0 / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00144/0.2282, allocations: 0.497 MB / 0.9903 GB, free: 16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2282, allocations: 4 kB / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2282, allocations: 0 / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2283, allocations: 0 / 0.9903 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.2289, allocations: 75.86 kB / 0.9904 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.2289, allocations: 7.938 kB / 0.9904 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.2293, allocations: 51.8 kB / 0.9904 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2294, allocations: 7.984 kB / 0.9904 GB, free: 15.85 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.2296, allocations: 161.8 kB / 0.9906 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.2297, allocations: 35.53 kB / 0.9906 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078e-05/0.2298, allocations: 47.58 kB / 0.9907 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2298, allocations: 3.938 kB / 0.9907 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2299, allocations: 7.938 kB / 0.9907 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2299, allocations: 0 / 0.9907 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.2305, allocations: 474.7 kB / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2305, allocations: 0 / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.2311, allocations: 71.88 kB / 0.9912 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2311, allocations: 0 / 0.9912 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.2311, allocations: 11.98 kB / 0.9912 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2311, allocations: 3.938 kB / 0.9912 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2311, allocations: 3.938 kB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2326, allocations: 0.5982 MB / 0.9918 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.2327, allocations: 116.7 kB / 0.9919 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.2328, allocations: 4 kB / 0.9919 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.2333, allocations: 43.95 kB / 0.992 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2334, allocations: 27.89 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.2335, allocations: 7.984 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003939/0.2339, allocations: 311.1 kB / 0.9923 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2339, allocations: 0 / 0.9923 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005087/0.2344, allocations: 67.91 kB / 0.9924 GB, free: 13.79 MB / 0.6198 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 (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.0001281/0.2345, allocations: 95.25 kB / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.236, allocations: 479.6 kB / 0.9929 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.236, allocations: 0 / 0.9929 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.2368, allocations: 251.8 kB / 0.9932 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.2374, allocations: 45.55 kB / 0.9932 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.239, allocations: 0.7579 MB / 0.9939 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.2393, allocations: 0.7912 MB / 0.9947 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.2397, allocations: 66.23 kB / 0.9948 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2399, allocations: 27.42 kB / 0.9948 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.24, allocations: 0 / 0.9948 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.009041/0.249, allocations: 3.855 MB / 0.9986 GB, free: 7.426 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)