Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.001074/0.001074, allocations: 97.81 kB / 16.26 MB, free: 5.93 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.001061/0.001061, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002125/0.3378, allocations: 1.296 MB / 0.5686 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3394, allocations: 1.337 MB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.3394, allocations: 0 / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.3395, allocations: 1.406 kB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.3396, allocations: 10.03 kB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.3404, allocations: 363.7 kB / 0.5703 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.3405, allocations: 42.77 kB / 0.5703 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.3405, allocations: 1.562 kB / 0.5703 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.3405, allocations: 19.33 kB / 0.5703 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.3406, allocations: 22.09 kB / 0.5703 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3406, allocations: 2.406 kB / 0.5703 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007295/0.3414, allocations: 0.5249 MB / 0.5709 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.3414, allocations: 16.02 kB / 0.5709 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.3414, allocations: 20.3 kB / 0.5709 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3419, allocations: 344.3 kB / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3419, allocations: 0 / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3419, allocations: 2.094 kB / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3419, allocations: 0 / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003694/0.3423, allocations: 417 kB / 0.5716 GB, free: 30.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.3424, allocations: 11.12 kB / 0.5716 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.195e-05/0.3424, allocations: 33.84 kB / 0.5717 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.3427, allocations: 37.8 kB / 0.5717 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.497e-05/0.3428, allocations: 171.4 kB / 0.5719 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3428, allocations: 1.75 kB / 0.5719 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3428, allocations: 3.344 kB / 0.5719 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3429, allocations: 69.52 kB / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.343, allocations: 0 / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.343, allocations: 0 / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.343, allocations: 2.219 kB / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3431, allocations: 56.75 kB / 0.572 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.3433, allocations: 169.8 kB / 0.5721 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3434, allocations: 57.88 kB / 0.5722 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.3434, allocations: 26.08 kB / 0.5722 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004953/0.3439, allocations: 209.4 kB / 0.5724 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3439, allocations: 45.23 kB / 0.5725 GB, free: 29.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.344, allocations: 0.9688 kB / 0.5725 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002195/0.3442, allocations: 96.67 kB / 0.5726 GB, free: 29.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3442, allocations: 53.31 kB / 0.5726 GB, free: 29.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.3443, allocations: 110.4 kB / 0.5727 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3443, allocations: 27.52 kB / 0.5727 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.3443, allocations: 85.91 kB / 0.5728 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3443, allocations: 26.5 kB / 0.5729 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.3444, allocations: 22.61 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.3444, allocations: 313.7 kB / 0.5732 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.3445, allocations: 18.28 kB / 0.5732 GB, free: 28.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.3445, allocations: 20.83 kB / 0.5732 GB, free: 28.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.3446, allocations: 54.89 kB / 0.5733 GB, free: 28.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3446, allocations: 0 / 0.5733 GB, free: 28.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001293/0.3448, allocations: 83.06 kB / 0.5733 GB, free: 28.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3448, allocations: 5.297 kB / 0.5733 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3448, allocations: 3.938 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3448, allocations: 2.094 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.3449, allocations: 12.59 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3449, allocations: 1.438 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.345, allocations: 5.828 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.345, allocations: 3.312 kB / 0.5734 GB, free: 28.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.465e-05/0.345, allocations: 119.3 kB / 0.5735 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.345, allocations: 6.25 kB / 0.5735 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.3456, allocations: 291.7 kB / 0.5738 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3456, allocations: 1.312 kB / 0.5738 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3456, allocations: 0.5938 kB / 0.5738 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3456, allocations: 0.6094 kB / 0.5738 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.3457, allocations: 178.6 kB / 0.5739 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3457, allocations: 1.688 kB / 0.5739 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.3458, allocations: 20.88 kB / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3458, allocations: 1.375 kB / 0.574 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3458, allocations: 10.66 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3458, allocations: 0.75 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3458, allocations: 3.562 kB / 0.574 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.346, allocations: 108 kB / 0.5741 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.346, allocations: 82.89 kB / 0.5742 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.346, allocations: 2 kB / 0.5742 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.3461, allocations: 2.188 kB / 0.5742 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.3461, allocations: 8.016 kB / 0.5742 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3461, allocations: 4.797 kB / 0.5742 GB, free: 28.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.3462, allocations: 91.45 kB / 0.5743 GB, free: 27.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3462, allocations: 0 / 0.5743 GB, free: 27.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3465, allocations: 112.3 kB / 0.5744 GB, free: 27.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006606/0.3471, allocations: 0.7961 MB / 0.5752 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.3473, allocations: 54.42 kB / 0.5752 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3473, allocations: 0 / 0.5752 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.3474, allocations: 32.19 kB / 0.5752 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.3476, allocations: 15.45 kB / 0.5753 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3486, allocations: 1.378 MB / 0.5766 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3487, allocations: 0.6862 MB / 0.5773 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003967/0.3491, allocations: 267.2 kB / 0.5775 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.3492, allocations: 19.28 kB / 0.5775 GB, free: 25.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3492, allocations: 0 / 0.5775 GB, free: 25.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.3685, allocations: 3.987 MB / 0.5814 GB, free: 23.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/9.346, allocations: 8.75 kB / 0.5814 GB, free: 23.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)