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.001117/0.001117, allocations: 108.3 kB / 16.41 MB, free: 6.469 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.001404/0.001404, allocations: 189.2 kB / 17.34 MB, free: 5.75 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7473/0.7473, allocations: 122.8 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.42 kB / 0.568 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1368, allocations: 77.92 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002704/0.1395, allocations: 1.323 MB / 0.6454 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1411, allocations: 0.7493 MB / 0.6461 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.1412, allocations: 4 kB / 0.6461 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.1412, allocations: 0 / 0.6461 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.1413, allocations: 7.938 kB / 0.6462 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.1419, allocations: 139.5 kB / 0.6463 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.142, allocations: 23.81 kB / 0.6463 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.1421, allocations: 7.984 kB / 0.6463 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.1421, allocations: 7.938 kB / 0.6463 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.034e-05/0.1421, allocations: 0 / 0.6463 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1421, allocations: 8 kB / 0.6463 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.1425, allocations: 167.8 kB / 0.6465 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1426, allocations: 11.92 kB / 0.6465 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1426, allocations: 0 / 0.6465 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1429, allocations: 123.9 kB / 0.6466 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1429, allocations: 0 / 0.6466 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1429, allocations: 0 / 0.6466 GB, free: 6.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1429, allocations: 0 / 0.6466 GB, free: 6.973 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.0003656/0.1433, allocations: 359.1 kB / 0.647 GB, free: 6.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1433, allocations: 8.625 kB / 0.647 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.1434, allocations: 34.75 kB / 0.647 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1434, allocations: 8.891 kB / 0.647 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1435, allocations: 164.4 kB / 0.6472 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1435, allocations: 4.312 kB / 0.6472 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1435, allocations: 4.375 kB / 0.6472 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/0.1436, allocations: 41.81 kB / 0.6472 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1437, allocations: 0 / 0.6472 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1437, allocations: 0 / 0.6472 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.1437, allocations: 3.984 kB / 0.6472 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.1438, allocations: 11.94 kB / 0.6472 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.144, allocations: 153.7 kB / 0.6474 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.144, allocations: 18.58 kB / 0.6474 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.1441, allocations: 8.922 kB / 0.6474 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.1446, allocations: 137 kB / 0.6475 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1446, allocations: 34.5 kB / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1446, allocations: 0 / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.1448, allocations: 45.62 kB / 0.6476 GB, free: 5.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1448, allocations: 55.41 kB / 0.6477 GB, free: 5.695 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.1449, allocations: 97.86 kB / 0.6478 GB, free: 5.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1449, allocations: 29.83 kB / 0.6478 GB, free: 5.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.1449, allocations: 84.14 kB / 0.6479 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.145, allocations: 7.938 kB / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.145, allocations: 13.72 kB / 0.6479 GB, free: 5.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.1451, allocations: 314.8 kB / 0.6482 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.1451, allocations: 4 kB / 0.6482 GB, free: 5.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.1451, allocations: 0 / 0.6482 GB, free: 5.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.1452, allocations: 20.92 kB / 0.6482 GB, free: 5.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1452, allocations: 0 / 0.6482 GB, free: 5.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.669e-05/0.1453, allocations: 53.45 kB / 0.6483 GB, free: 5.039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1453, allocations: 8 kB / 0.6483 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1453, allocations: 0 / 0.6483 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1453, allocations: 0 / 0.6483 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.1453, allocations: 4 kB / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1454, allocations: 0 / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.1454, allocations: 0 / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1454, allocations: 0 / 0.6483 GB, free: 5.027 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 (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 6.778e-05/0.1455, allocations: 121.9 kB / 0.6484 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.1455, allocations: 3.938 kB / 0.6484 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.607e-05/0.1456, allocations: 54.95 kB / 0.6484 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1456, allocations: 0 / 0.6484 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1456, allocations: 4.234 kB / 0.6484 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1456, allocations: 0 / 0.6484 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/0.1457, allocations: 153.6 kB / 0.6486 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1457, allocations: 0 / 0.6486 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.1457, allocations: 11.92 kB / 0.6486 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1457, allocations: 4.031 kB / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1458, allocations: 0 / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1458, allocations: 0 / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1458, allocations: 0 / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.746e-05/0.1458, allocations: 73.08 kB / 0.6487 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1459, allocations: 81.05 kB / 0.6488 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1459, allocations: 7.938 kB / 0.6488 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.1459, allocations: 4.031 kB / 0.6488 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.1459, allocations: 0 / 0.6488 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.146, allocations: 0 / 0.6488 GB, free: 4.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.146, allocations: 79.28 kB / 0.6488 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.146, allocations: 0 / 0.6488 GB, free: 4.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1463, allocations: 43.86 kB / 0.6489 GB, free: 4.297 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 (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.0006446/0.1469, allocations: 0.6708 MB / 0.6495 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.147, allocations: 15.94 kB / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.147, allocations: 0 / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-05/0.147, allocations: 7.984 kB / 0.6496 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1473, allocations: 5.562 kB / 0.6496 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.1477, allocations: 155.2 kB / 0.6497 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.1479, allocations: 0.6806 MB / 0.6504 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.1479, allocations: 0 / 0.6504 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.148, allocations: 19.38 kB / 0.6504 GB, free: 2.648 MB / 494.1 MB Notification: Performance of SimCode: time 4.6e-07/0.148, allocations: 0 / 0.6504 GB, free: 2.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.1673, allocations: 2.235 MB / 0.6526 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/7.978, allocations: 14.2 kB / 0.6526 GB, free: 0.625 MB / 494.1 MB (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)