Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 192.8 kB / 16.14 MB, free: 6.707 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.03 kB / 0.5012 GB, free: 9.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1525, allocations: 80.21 MB / 0.5795 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001976/0.1545, allocations: 0.6179 MB / 0.5802 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1567, allocations: 1.648 MB / 0.5818 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.1568, allocations: 4 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.1568, allocations: 3.984 kB / 0.5818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.662e-05/0.1569, allocations: 0 / 0.5818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1574, allocations: 151.6 kB / 0.5819 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.1575, allocations: 23.92 kB / 0.5819 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.1575, allocations: 0 / 0.5819 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.1575, allocations: 4 kB / 0.5819 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.1575, allocations: 15.97 kB / 0.582 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1576, allocations: 4 kB / 0.582 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.158, allocations: 299.4 kB / 0.5822 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.1581, allocations: 11.92 kB / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1581, allocations: 11.94 kB / 0.5823 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1583, allocations: 167.6 kB / 0.5824 GB, free: 6.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1584, allocations: 0 / 0.5824 GB, free: 6.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1584, allocations: 0 / 0.5824 GB, free: 6.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1584, allocations: 0 / 0.5824 GB, free: 6.133 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004345/0.1588, allocations: 371.7 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1589, allocations: 12.03 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1589, allocations: 42.61 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1602, allocations: 68.78 kB / 0.5829 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1603, allocations: 172.4 kB / 0.5831 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1604, allocations: 384 / 0.5831 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1604, allocations: 3.938 kB / 0.5831 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.1607, allocations: 81.59 kB / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1607, allocations: 0 / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1608, allocations: 0 / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1608, allocations: 0 / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.1612, allocations: 87.88 kB / 0.5832 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.1615, allocations: 177.7 kB / 0.5834 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1618, allocations: 94.33 kB / 0.5835 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1619, allocations: 40.95 kB / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.162, allocations: 3.984 kB / 0.5835 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.162, allocations: 34.55 kB / 0.5836 GB, free: 4.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.162, allocations: 0 / 0.5836 GB, free: 4.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005746/0.1626, allocations: 145.4 kB / 0.5837 GB, free: 4.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1627, allocations: 55.41 kB / 0.5838 GB, free: 4.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1628, allocations: 110.1 kB / 0.5839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1628, allocations: 25.7 kB / 0.5839 GB, free: 4.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.1629, allocations: 84.14 kB / 0.584 GB, free: 4.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.163, allocations: 19.73 kB / 0.584 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.1631, allocations: 29.69 kB / 0.584 GB, free: 4.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1632, allocations: 310.8 kB / 0.5843 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1634, allocations: 31.97 kB / 0.5843 GB, free: 3.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1635, allocations: 35.97 kB / 0.5844 GB, free: 3.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.1637, allocations: 72.8 kB / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1638, allocations: 0 / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003619/0.1641, allocations: 117.5 kB / 0.5846 GB, free: 3.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1642, allocations: 7.984 kB / 0.5846 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1642, allocations: 0 / 0.5846 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1642, allocations: 0 / 0.5846 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.1645, allocations: 19.97 kB / 0.5846 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1645, allocations: 0 / 0.5846 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1647, allocations: 11.91 kB / 0.5846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1648, allocations: 3.984 kB / 0.5846 GB, free: 3.676 MB / 494.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 (5): * Single equations (assignments): 5 * 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.000123/0.1649, allocations: 117.8 kB / 0.5847 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1649, allocations: 4 kB / 0.5847 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.1656, allocations: 213.3 kB / 0.5849 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1656, allocations: 8 kB / 0.5849 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1656, allocations: 0 / 0.5849 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1656, allocations: 4 kB / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1659, allocations: 225.4 kB / 0.5851 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1659, allocations: 0 / 0.5851 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.1662, allocations: 27.98 kB / 0.5852 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1662, allocations: 0 / 0.5852 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1663, allocations: 4 kB / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1663, allocations: 0 / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1663, allocations: 0 / 0.5852 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.1667, allocations: 196.9 kB / 0.5854 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.1668, allocations: 84.95 kB / 0.5854 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1668, allocations: 11.98 kB / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.167, allocations: 0 / 0.5855 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.167, allocations: 15.97 kB / 0.5855 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1671, allocations: 4 kB / 0.5855 GB, free: 2.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.1671, allocations: 79.28 kB / 0.5855 GB, free: 2.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1671, allocations: 0 / 0.5855 GB, free: 2.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000536/0.1677, allocations: 79.98 kB / 0.5856 GB, free: 2.516 MB / 494.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 (16): * Single equations (assignments): 16 * 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.001228/0.1689, allocations: 0.8099 MB / 0.5864 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1693, allocations: 91.92 kB / 0.5865 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1693, allocations: 4 kB / 0.5865 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1695, allocations: 83.89 kB / 0.5866 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.1697, allocations: 8.938 kB / 0.5866 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.1705, allocations: 297.9 kB / 0.5869 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1708, allocations: 0.6926 MB / 0.5876 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1709, allocations: 24.3 kB / 0.5876 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1711, allocations: 27.42 kB / 0.5876 GB, free: 408 kB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1711, allocations: 4 kB / 0.5876 GB, free: 404 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.2047, allocations: 3.444 MB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.2051, allocations: 287.3 kB / 0.5912 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.849, allocations: 4.062 kB / 0.5912 GB, free: 12.79 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)