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.001115/0.001115, allocations: 109.3 kB / 16.29 MB, free: 6.43 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.001022/0.001022, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.43/1.43, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.941/1.941, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.00146/0.00146, allocations: 72.38 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2149, allocations: 114.5 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003847/0.2188, allocations: 2.378 MB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.2208, allocations: 1.431 MB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.221, allocations: 4 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.3319/0.553, allocations: 192.5 kB / 0.788 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.5532, allocations: 78.16 kB / 0.788 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.5535, allocations: 122.1 kB / 0.7882 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.5538, allocations: 333 kB / 0.7885 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.554, allocations: 40.88 kB / 0.7885 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.5542, allocations: 130.7 kB / 0.7886 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.5544, allocations: 191.9 kB / 0.7888 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.5544, allocations: 32.12 kB / 0.7889 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.5546, allocations: 68.11 kB / 0.7889 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.5547, allocations: 122.2 kB / 0.789 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.5548, allocations: 178.3 kB / 0.7892 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.5552, allocations: 497.7 kB / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5552, allocations: 0 / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5552, allocations: 2 kB / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.5552, allocations: 3.375 kB / 0.7897 GB, free: 45.67 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.001048/0.5563, allocations: 0.7021 MB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5563, allocations: 7.875 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.5571, allocations: 146.4 kB / 0.7905 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.5575, allocations: 350.4 kB / 0.7909 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.5576, allocations: 81.69 kB / 0.7909 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.5576, allocations: 14.81 kB / 0.7909 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.5582, allocations: 303.1 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5582, allocations: 3.609 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5583, allocations: 3.875 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5583, allocations: 2.625 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.5592, allocations: 419 kB / 0.7916 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.5606, allocations: 0.8685 MB / 0.7925 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.5611, allocations: 266.2 kB / 0.7927 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.5616, allocations: 221.5 kB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.5616, allocations: 3.469 kB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.5617, allocations: 34.72 kB / 0.793 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.073e-06/0.5617, allocations: 0.7188 kB / 0.793 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.001485/0.5632, allocations: 0.6513 MB / 0.7936 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.5632, allocations: 55.03 kB / 0.7937 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.5636, allocations: 430.7 kB / 0.7941 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.5636, allocations: 29.08 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.5637, allocations: 180.2 kB / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.5638, allocations: 57.27 kB / 0.7944 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.5639, allocations: 36.53 kB / 0.7944 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.5639, allocations: 352.1 kB / 0.7947 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.5644, allocations: 193.7 kB / 0.7949 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.5648, allocations: 242.5 kB / 0.7951 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.5656, allocations: 366.7 kB / 0.7955 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5656, allocations: 0 / 0.7955 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001004/0.5667, allocations: 466.4 kB / 0.7959 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5667, allocations: 3.438 kB / 0.7959 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5667, allocations: 3.469 kB / 0.7959 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5667, allocations: 1.969 kB / 0.7959 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.5671, allocations: 60.16 kB / 0.796 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5672, allocations: 3.938 kB / 0.796 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.5675, allocations: 45.16 kB / 0.796 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.5675, allocations: 8.578 kB / 0.7961 GB, free: 43.6 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.0001508/0.5677, allocations: 170.4 kB / 0.7962 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.5677, allocations: 38.86 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.5678, allocations: 37.27 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5678, allocations: 5.484 kB / 0.7963 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5678, allocations: 3.938 kB / 0.7963 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5678, allocations: 0 / 0.7963 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.5683, allocations: 477 kB / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5683, allocations: 4 kB / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.5686, allocations: 61.58 kB / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5687, allocations: 3.5 kB / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.5687, allocations: 6.312 kB / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5687, allocations: 0 / 0.7968 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5687, allocations: 7.438 kB / 0.7968 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.5697, allocations: 0.5523 MB / 0.7974 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.5698, allocations: 109.2 kB / 0.7975 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.5698, allocations: 7.109 kB / 0.7975 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.5702, allocations: 35.7 kB / 0.7975 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.5703, allocations: 28.67 kB / 0.7975 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.5703, allocations: 9.656 kB / 0.7976 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002725/0.5706, allocations: 307.5 kB / 0.7978 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5706, allocations: 0 / 0.7978 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003202/0.5709, allocations: 68.34 kB / 0.7979 GB, free: 42.87 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.0001141/0.571, allocations: 104.6 kB / 0.798 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.572, allocations: 433.1 kB / 0.7984 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5721, allocations: 2.562 kB / 0.7984 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.5726, allocations: 232.4 kB / 0.7986 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.573, allocations: 49.38 kB / 0.7987 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.5742, allocations: 0.6679 MB / 0.7993 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5744, allocations: 0.7884 MB / 0.8001 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.5747, allocations: 61.66 kB / 0.8002 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.5749, allocations: 28.89 kB / 0.8002 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.5749, allocations: 0 / 0.8002 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.008864/0.5837, allocations: 4.263 MB / 0.8044 GB, free: 41.34 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)