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.001695/0.001695, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 186.1 kB / 16.62 MB, free: 6.613 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001415/0.001415, allocations: 70.05 kB / 0.6723 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2405, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004046/0.2446, allocations: 2.363 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002602/0.2472, allocations: 1.435 MB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.2474, allocations: 0 / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006997/0.2482, allocations: 210.8 kB / 0.788 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.2485, allocations: 75.36 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.2488, allocations: 115.7 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.2492, allocations: 338.6 kB / 0.7885 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2493, allocations: 48.72 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2495, allocations: 131.5 kB / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.2498, allocations: 191.3 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.2499, allocations: 32 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2501, allocations: 67.95 kB / 0.789 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2502, allocations: 115.7 kB / 0.7891 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2504, allocations: 175 kB / 0.7893 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.2509, allocations: 0.4906 MB / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2509, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2509, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2509, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 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.001382/0.2523, allocations: 0.7121 MB / 0.7904 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2524, allocations: 8.031 kB / 0.7904 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009817/0.2533, allocations: 140.4 kB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.2538, allocations: 366.2 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.2539, allocations: 80.19 kB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.254, allocations: 12.38 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.2549, allocations: 295.4 kB / 0.7913 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.255, allocations: 7.984 kB / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.255, allocations: 4 kB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.255, allocations: 4 kB / 0.7913 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2561, allocations: 417.6 kB / 0.7917 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.2578, allocations: 0.8588 MB / 0.7926 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.2585, allocations: 278.3 kB / 0.7928 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.259, allocations: 220.7 kB / 0.793 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.259, allocations: 3.984 kB / 0.793 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2591, allocations: 38.56 kB / 0.7931 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.2591, allocations: 0 / 0.7931 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001987/0.2611, allocations: 0.6416 MB / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2611, allocations: 59.34 kB / 0.7937 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.2616, allocations: 425.6 kB / 0.7942 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.2617, allocations: 29.7 kB / 0.7942 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2618, allocations: 176.1 kB / 0.7944 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.2619, allocations: 67.03 kB / 0.7944 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.262, allocations: 33.7 kB / 0.7944 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2621, allocations: 350.8 kB / 0.7948 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.2627, allocations: 195.8 kB / 0.795 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.2632, allocations: 231.2 kB / 0.7952 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/0.2642, allocations: 367.6 kB / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2642, allocations: 0 / 0.7955 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00115/0.2653, allocations: 461 kB / 0.796 GB, free: 328 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2654, allocations: 4 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2654, allocations: 7.969 kB / 0.796 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2654, allocations: 15.86 kB / 0.796 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.2659, allocations: 55.94 kB / 0.7961 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2659, allocations: 7.938 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.2662, allocations: 43.78 kB / 0.7961 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.2663, allocations: 4 kB / 0.7961 GB, free: 188 kB / 0.6075 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.0001734/0.2664, allocations: 169.8 kB / 0.7963 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2666, allocations: 39.58 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.2667, allocations: 39.55 kB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2667, allocations: 4 kB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2667, allocations: 7.922 kB / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2667, allocations: 0 / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.2673, allocations: 474.9 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2673, allocations: 0 / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.2677, allocations: 63.92 kB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2677, allocations: 0 / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.2677, allocations: 11.98 kB / 0.7969 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2677, allocations: 0 / 0.7969 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2677, allocations: 7.938 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2689, allocations: 0.556 MB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.269, allocations: 116.7 kB / 0.7975 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.269, allocations: 8 kB / 0.7976 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.2694, allocations: 27.95 kB / 0.7976 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.2695, allocations: 27.91 kB / 0.7976 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.2695, allocations: 7.984 kB / 0.7976 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000308/0.2698, allocations: 303.1 kB / 0.7979 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2698, allocations: 7.938 kB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000307/0.2701, allocations: 68 kB / 0.798 GB, free: 14.18 MB / 0.6231 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.0001349/0.2703, allocations: 103.2 kB / 0.7981 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.2714, allocations: 439.6 kB / 0.7985 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2714, allocations: 0 / 0.7985 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.272, allocations: 223.8 kB / 0.7987 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2724, allocations: 54.89 kB / 0.7988 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2736, allocations: 0.6654 MB / 0.7994 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.274, allocations: 0.7909 MB / 0.8002 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.2743, allocations: 66.25 kB / 0.8002 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2744, allocations: 27.42 kB / 0.8003 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2744, allocations: 0 / 0.8003 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.00786/0.2823, allocations: 4.26 MB / 0.8044 GB, free: 7.559 MB / 0.6231 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)