Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_dev_IDEAS_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.007442/0.007442, allocations: 102 kB / 15.73 MB, free: 6.039 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.001591/0.001591, allocations: 193 kB / 16.67 MB, free: 5.961 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7903/0.7903, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.56 kB / 0.5852 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 80.92 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002493/0.154, allocations: 1.287 MB / 0.6655 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.156, allocations: 1.345 MB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.1561, allocations: 0 / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.1562, allocations: 3.984 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1563, allocations: 11.94 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009977/0.1573, allocations: 362.9 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1574, allocations: 47.89 kB / 0.6672 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.1575, allocations: 3.984 kB / 0.6672 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.1575, allocations: 12 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.1576, allocations: 23.91 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1576, allocations: 4 kB / 0.6672 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007639/0.1584, allocations: 0.5226 MB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1584, allocations: 7.984 kB / 0.6677 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1585, allocations: 19.92 kB / 0.6678 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.159, allocations: 354.1 kB / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.159, allocations: 0 / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.159, allocations: 0 / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.159, allocations: 0 / 0.6681 GB, free: 2.266 MB / 0.4981 GB 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.0005006/0.1595, allocations: 412.2 kB / 0.6685 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1596, allocations: 9.109 kB / 0.6685 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1596, allocations: 42.75 kB / 0.6685 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.1599, allocations: 32.81 kB / 0.6686 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.16, allocations: 172.4 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1601, allocations: 8.125 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1601, allocations: 8 kB / 0.6687 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1602, allocations: 49.67 kB / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1602, allocations: 0 / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1603, allocations: 0 / 0.6688 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1603, allocations: 7.984 kB / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1605, allocations: 63.86 kB / 0.6689 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.1607, allocations: 181.6 kB / 0.669 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1608, allocations: 62.48 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1609, allocations: 24.97 kB / 0.6691 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/0.1614, allocations: 208.9 kB / 0.6693 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1614, allocations: 38.48 kB / 0.6694 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1614, allocations: 0 / 0.6694 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002651/0.1617, allocations: 93.61 kB / 0.6694 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1618, allocations: 59.39 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.1618, allocations: 113.8 kB / 0.6696 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1619, allocations: 25.7 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1619, allocations: 80.14 kB / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1619, allocations: 23.72 kB / 0.6697 GB, free: 368 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.162, allocations: 25.7 kB / 0.6698 GB, free: 336 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1621, allocations: 314.8 kB / 0.6701 GB, free: 12 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.1622, allocations: 16.03 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.1622, allocations: 19.95 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1623, allocations: 48.77 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1623, allocations: 4.312 kB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001488/0.1625, allocations: 81.67 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1625, allocations: 12 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1625, allocations: 0 / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1626, allocations: 0 / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1627, allocations: 12 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1627, allocations: 0 / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1627, allocations: 3.938 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1628, allocations: 4 kB / 0.6703 GB, free: 15.8 MB / 0.5137 GB 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 8.178e-05/0.1628, allocations: 121.8 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1629, allocations: 3.906 kB / 0.6704 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.1634, allocations: 295.7 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1634, allocations: 3.984 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1634, allocations: 0 / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1634, allocations: 0 / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1635, allocations: 177.6 kB / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1635, allocations: 0 / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.1636, allocations: 12 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1636, allocations: 3.984 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1637, allocations: 4 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1637, allocations: 4.328 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1637, allocations: 4.062 kB / 0.6709 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1639, allocations: 128.9 kB / 0.671 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1639, allocations: 85.02 kB / 0.6711 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1639, allocations: 7.984 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.164, allocations: 0 / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.164, allocations: 4 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.164, allocations: 4 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.1641, allocations: 91.27 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1641, allocations: 7.938 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003798/0.1645, allocations: 112 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB 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.0008329/0.1653, allocations: 0.7737 MB / 0.672 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1655, allocations: 55.95 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1655, allocations: 0 / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/0.1656, allocations: 31.92 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1658, allocations: 11.98 kB / 0.6721 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1672, allocations: 1.372 MB / 0.6735 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1674, allocations: 0.6885 MB / 0.6741 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.1678, allocations: 273.3 kB / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.1678, allocations: 19.44 kB / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.1678, allocations: 0 / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1912, allocations: 4.031 MB / 0.6784 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.785, allocations: 15.05 kB / 0.6784 GB, free: 7.473 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)