Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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/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.FiniteLineSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_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.001614/0.001614, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001581/0.001581, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8588/0.8588, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 65.3 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1591, allocations: 78.87 MB / 0.6506 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002789/0.1619, allocations: 1.309 MB / 0.6519 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1634, allocations: 0.7578 MB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.1634, allocations: 0 / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.1635, allocations: 7.984 kB / 0.6526 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.1635, allocations: 3.938 kB / 0.6526 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.1643, allocations: 139.5 kB / 0.6528 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.1643, allocations: 19.92 kB / 0.6528 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.1644, allocations: 7.938 kB / 0.6528 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.1644, allocations: 11.88 kB / 0.6528 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.234e-05/0.1645, allocations: 3.984 kB / 0.6528 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1645, allocations: 4 kB / 0.6528 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.165, allocations: 167.8 kB / 0.653 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.165, allocations: 4 kB / 0.653 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.165, allocations: 7.938 kB / 0.653 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1653, allocations: 127.9 kB / 0.6531 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1653, allocations: 0 / 0.6531 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1653, allocations: 0 / 0.6531 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1653, allocations: 0 / 0.6531 GB, free: 1.016 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004225/0.1658, allocations: 355.2 kB / 0.6535 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1658, allocations: 8.031 kB / 0.6535 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.1659, allocations: 30.75 kB / 0.6535 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.1659, allocations: 8.938 kB / 0.6535 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1661, allocations: 172.3 kB / 0.6537 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1661, allocations: 4.125 kB / 0.6537 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1661, allocations: 0 / 0.6537 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1662, allocations: 29.7 kB / 0.6537 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1662, allocations: 3.938 kB / 0.6537 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1662, allocations: 4 kB / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1662, allocations: 0 / 0.6537 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.1663, allocations: 19.92 kB / 0.6537 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1665, allocations: 153.7 kB / 0.6539 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/0.1666, allocations: 26.5 kB / 0.6539 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.1666, allocations: 8.922 kB / 0.6539 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.1671, allocations: 138.4 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1672, allocations: 34.56 kB / 0.6541 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1672, allocations: 0 / 0.6541 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/0.1674, allocations: 41.64 kB / 0.6541 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1674, allocations: 51.41 kB / 0.6542 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.1675, allocations: 101.8 kB / 0.6543 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1675, allocations: 29.83 kB / 0.6543 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1676, allocations: 88.14 kB / 0.6544 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1676, allocations: 3.953 kB / 0.6544 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1676, allocations: 13.72 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1678, allocations: 318.8 kB / 0.6547 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.1678, allocations: 4 kB / 0.6547 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.1678, allocations: 0 / 0.6547 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.1679, allocations: 12.86 kB / 0.6547 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1679, allocations: 8 kB / 0.6547 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.168, allocations: 45.62 kB / 0.6548 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.168, allocations: 4 kB / 0.6548 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.168, allocations: 7.938 kB / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1681, allocations: 0 / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.1681, allocations: 0 / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.1681, allocations: 4 kB / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.1681, allocations: 0 / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1681, allocations: 0 / 0.6548 GB, free: 15.07 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.512e-05/0.1682, allocations: 113.8 kB / 0.6549 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1682, allocations: 7.953 kB / 0.6549 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1684, allocations: 51 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1684, allocations: 4 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1684, allocations: 0 / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1684, allocations: 3.938 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1685, allocations: 161.5 kB / 0.6551 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1685, allocations: 0 / 0.6551 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.1685, allocations: 4 kB / 0.6551 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1686, allocations: 4.031 kB / 0.6551 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1686, allocations: 0 / 0.6551 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1686, allocations: 0 / 0.6551 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1686, allocations: 256 / 0.6551 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.557e-05/0.1687, allocations: 69.06 kB / 0.6552 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1687, allocations: 77.11 kB / 0.6552 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1687, allocations: 4 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.1688, allocations: 4 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1688, allocations: 15.95 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1688, allocations: 0 / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.1688, allocations: 79.28 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1689, allocations: 0 / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.1691, allocations: 39.86 kB / 0.6554 GB, free: 14.35 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0006396/0.1697, allocations: 0.6786 MB / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.1698, allocations: 15.94 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1699, allocations: 0 / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.1699, allocations: 4 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1701, allocations: 7.984 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1705, allocations: 147.2 kB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1709, allocations: 0.6768 MB / 0.6569 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.1709, allocations: 4 kB / 0.6569 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.171, allocations: 15.44 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.171, allocations: 3.938 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1941, allocations: 2.24 MB / 0.6591 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.151, allocations: 17.52 kB / 0.6591 GB, free: 10.66 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)