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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, 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.001638/0.001638, allocations: 189 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.354/1.354, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.6/1.6, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001379/0.001379, allocations: 73.25 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2087, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003258/0.212, allocations: 2.391 MB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2137, allocations: 1.431 MB / 0.7873 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2139, allocations: 4 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.2144, allocations: 206.8 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2145, allocations: 67.36 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2148, allocations: 127.7 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.2151, allocations: 330.7 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2152, allocations: 44.72 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.2154, allocations: 131.5 kB / 0.7882 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.2157, allocations: 187.3 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.2157, allocations: 32 kB / 0.7884 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2159, allocations: 71.95 kB / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.216, allocations: 115.7 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2161, allocations: 179 kB / 0.7888 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.2165, allocations: 490.6 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2166, allocations: 4 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2166, allocations: 4 kB / 0.7893 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2166, allocations: 0 / 0.7893 GB, free: 7.453 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.001176/0.2178, allocations: 0.7121 MB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2178, allocations: 8.031 kB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.2179, allocations: 50.73 kB / 0.79 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/0.2187, allocations: 148.3 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.2191, allocations: 350.2 kB / 0.7905 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.2192, allocations: 84.19 kB / 0.7906 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2193, allocations: 12.38 kB / 0.7906 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.22, allocations: 303.2 kB / 0.7909 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.22, allocations: 3.938 kB / 0.7909 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.22, allocations: 8 kB / 0.7909 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.22, allocations: 0 / 0.7909 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2211, allocations: 425.5 kB / 0.7913 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.2226, allocations: 0.8589 MB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.2232, allocations: 274.4 kB / 0.7924 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.2237, allocations: 217.6 kB / 0.7926 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2238, allocations: 0 / 0.7926 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2238, allocations: 38.56 kB / 0.7926 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.2238, allocations: 4 kB / 0.7926 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001665/0.2255, allocations: 0.6442 MB / 0.7933 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.2255, allocations: 63.28 kB / 0.7933 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.2259, allocations: 421.6 kB / 0.7937 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.226, allocations: 29.7 kB / 0.7937 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2261, allocations: 184 kB / 0.7939 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.2262, allocations: 51.2 kB / 0.794 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2263, allocations: 37.7 kB / 0.794 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2264, allocations: 346.8 kB / 0.7943 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.2269, allocations: 199.8 kB / 0.7945 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2275, allocations: 231.2 kB / 0.7947 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.2284, allocations: 371.6 kB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2284, allocations: 0 / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001094/0.2295, allocations: 468.9 kB / 0.7956 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2296, allocations: 4 kB / 0.7956 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2296, allocations: 3.938 kB / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2296, allocations: 0 / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.23, allocations: 67.86 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.23, allocations: 4 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.2304, allocations: 39.8 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.2304, allocations: 7.984 kB / 0.7957 GB, free: 0.625 MB / 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.0001566/0.2306, allocations: 162.4 kB / 0.7958 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.2306, allocations: 39.52 kB / 0.7959 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2307, allocations: 47.59 kB / 0.7959 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2307, allocations: 7.938 kB / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2307, allocations: 0 / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2307, allocations: 0 / 0.7959 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.2312, allocations: 482.9 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2312, allocations: 0 / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.2316, allocations: 59.92 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2317, allocations: 0 / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2317, allocations: 8 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2317, allocations: 11.94 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2317, allocations: 3.984 kB / 0.7965 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2328, allocations: 0.5533 MB / 0.797 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.2329, allocations: 116.7 kB / 0.7971 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.233, allocations: 8 kB / 0.7971 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.2334, allocations: 39.88 kB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.2335, allocations: 19.97 kB / 0.7972 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2335, allocations: 8 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002775/0.2338, allocations: 307.1 kB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2338, allocations: 3.938 kB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003979/0.2342, allocations: 71.91 kB / 0.7975 GB, free: 14.61 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.001374/0.2356, allocations: 1.093 MB / 0.7986 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.2367, allocations: 439.5 kB / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2367, allocations: 0 / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.2372, allocations: 231.8 kB / 0.7993 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.2376, allocations: 46.89 kB / 0.7993 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.2435, allocations: 4.107 MB / 0.8033 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2438, allocations: 0.7985 MB / 0.8041 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.2441, allocations: 58.27 kB / 0.8041 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.2443, allocations: 103.4 kB / 0.8042 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2443, allocations: 0 / 0.8042 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.2671, allocations: 7.831 MB / 0.8119 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.564, allocations: 6.5 kB / 0.8119 GB, free: 15.98 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)