Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 174.5 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007836/0.0007836, allocations: 110.3 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 11.59 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002337/0.2222, allocations: 2.04 MB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2238, allocations: 1.599 MB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2239, allocations: 0 / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.2245, allocations: 242.8 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2246, allocations: 75.41 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2248, allocations: 87.83 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2251, allocations: 282.9 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2252, allocations: 36.73 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2253, allocations: 119.5 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2255, allocations: 175.4 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.2256, allocations: 24 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2257, allocations: 55.95 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.2258, allocations: 103.7 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.2259, allocations: 85.52 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2261, allocations: 379.3 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2261, allocations: 0 / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2261, allocations: 0 / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2261, allocations: 0 / 0.906 GB, free: 58.61 MB / 0.6042 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.0009938/0.2271, allocations: 0.6655 MB / 0.9066 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2272, allocations: 12.03 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.228, allocations: 175.3 kB / 0.9068 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.2284, allocations: 337.2 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.2285, allocations: 83.62 kB / 0.9072 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2285, allocations: 15.94 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.2292, allocations: 319.3 kB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2292, allocations: 4 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2292, allocations: 0 / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2292, allocations: 4 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.2302, allocations: 472.3 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2316, allocations: 0.8746 MB / 0.9088 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005868/0.2322, allocations: 290.3 kB / 0.9091 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.2327, allocations: 244.7 kB / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2327, allocations: 0 / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.2328, allocations: 34.56 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 9.82e-07/0.2328, allocations: 4 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001672/0.2344, allocations: 0.7066 MB / 0.9101 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2345, allocations: 63.41 kB / 0.9101 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.2349, allocations: 417.6 kB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.2349, allocations: 33.7 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2351, allocations: 176.1 kB / 0.9107 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.2351, allocations: 59.11 kB / 0.9108 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.2352, allocations: 0 / 0.9108 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.2353, allocations: 350.8 kB / 0.9111 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.2358, allocations: 219.8 kB / 0.9113 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.2363, allocations: 255.3 kB / 0.9116 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.2368, allocations: 206.5 kB / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2368, allocations: 0 / 0.9118 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001041/0.2378, allocations: 0.4969 MB / 0.9123 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2379, allocations: 7.984 kB / 0.9123 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2379, allocations: 0 / 0.9123 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2379, allocations: 0 / 0.9123 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.2384, allocations: 67.94 kB / 0.9123 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2384, allocations: 4 kB / 0.9123 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.2387, allocations: 55.78 kB / 0.9124 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.2387, allocations: 4 kB / 0.9124 GB, free: 51.81 MB / 0.6042 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.000165/0.2389, allocations: 177.7 kB / 0.9126 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.239, allocations: 31.62 kB / 0.9126 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.239, allocations: 39.59 kB / 0.9126 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.239, allocations: 0 / 0.9126 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2391, allocations: 3.984 kB / 0.9126 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2391, allocations: 4 kB / 0.9126 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.2395, allocations: 478.7 kB / 0.9131 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2395, allocations: 0 / 0.9131 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.2399, allocations: 75.92 kB / 0.9132 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2399, allocations: 0 / 0.9132 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.24, allocations: 15.92 kB / 0.9132 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.24, allocations: 3.938 kB / 0.9132 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.24, allocations: 0 / 0.9132 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2411, allocations: 0.5945 MB / 0.9138 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.2412, allocations: 120.6 kB / 0.9139 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.2412, allocations: 4 kB / 0.9139 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2416, allocations: 43.89 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.2417, allocations: 27.95 kB / 0.914 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2417, allocations: 7.984 kB / 0.914 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002757/0.242, allocations: 303.1 kB / 0.9142 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.242, allocations: 0 / 0.9142 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002861/0.2423, allocations: 67.94 kB / 0.9143 GB, free: 49.74 MB / 0.6042 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.0001457/0.2424, allocations: 107.2 kB / 0.9144 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.2435, allocations: 471.6 kB / 0.9149 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2435, allocations: 0 / 0.9149 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.2441, allocations: 255.8 kB / 0.9151 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2445, allocations: 53.44 kB / 0.9152 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2457, allocations: 0.7912 MB / 0.9159 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2459, allocations: 0.7872 MB / 0.9167 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2461, allocations: 35.41 kB / 0.9167 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2461, allocations: 0 / 0.9167 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.005602/0.2517, allocations: 4.928 MB / 0.9215 GB, free: 42.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)