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_Equivalent.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_Equivalent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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.001343/0.001343, allocations: 103.6 kB / 16.4 MB, free: 6.5 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.001422/0.001422, allocations: 192 kB / 17.34 MB, free: 5.738 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7244/0.7244, allocations: 122.9 MB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.58 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 77.94 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_Equivalent): time 0.002204/0.127, allocations: 1.352 MB / 0.6454 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1289, allocations: 1.344 MB / 0.6468 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.1289, allocations: 0 / 0.6468 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.129, allocations: 3.938 kB / 0.6468 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1292, allocations: 15.92 kB / 0.6468 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.1301, allocations: 395 kB / 0.6472 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.1302, allocations: 47.77 kB / 0.6472 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1303, allocations: 7.984 kB / 0.6472 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.1303, allocations: 15.94 kB / 0.6472 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.1304, allocations: 27.91 kB / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1304, allocations: 0 / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007247/0.1311, allocations: 0.507 MB / 0.6477 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1312, allocations: 15.97 kB / 0.6478 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1312, allocations: 15.86 kB / 0.6478 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.1318, allocations: 391.1 kB / 0.6481 GB, free: 5.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1318, allocations: 0 / 0.6481 GB, free: 5.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1318, allocations: 0 / 0.6481 GB, free: 5.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1318, allocations: 0 / 0.6481 GB, free: 5.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005478/0.1324, allocations: 422.5 kB / 0.6486 GB, free: 4.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1324, allocations: 12.62 kB / 0.6486 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1325, allocations: 38.69 kB / 0.6486 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1325, allocations: 12.88 kB / 0.6486 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1326, allocations: 164.3 kB / 0.6488 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1327, allocations: 8.375 kB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1327, allocations: 384 / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1328, allocations: 57.8 kB / 0.6488 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1328, allocations: 0 / 0.6488 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1328, allocations: 0 / 0.6488 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1328, allocations: 0 / 0.6488 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.332e-05/0.1329, allocations: 39.97 kB / 0.6489 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1331, allocations: 173.7 kB / 0.649 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.1332, allocations: 66.48 kB / 0.6491 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.1333, allocations: 24.94 kB / 0.6491 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.1333, allocations: 15.98 kB / 0.6491 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1334, allocations: 34.5 kB / 0.6492 GB, free: 4.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1334, allocations: 0 / 0.6492 GB, free: 4.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.1336, allocations: 93.56 kB / 0.6493 GB, free: 4.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.1336, allocations: 51.41 kB / 0.6493 GB, free: 4.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.1337, allocations: 125.7 kB / 0.6494 GB, free: 3.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1337, allocations: 33.64 kB / 0.6495 GB, free: 3.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.1338, allocations: 88.08 kB / 0.6495 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1338, allocations: 15.84 kB / 0.6496 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1339, allocations: 21.7 kB / 0.6496 GB, free: 3.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.134, allocations: 318.8 kB / 0.6499 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.134, allocations: 15.98 kB / 0.6499 GB, free: 3.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.134, allocations: 12 kB / 0.6499 GB, free: 3.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.23e-05/0.1341, allocations: 45.11 kB / 0.65 GB, free: 3.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1341, allocations: 4 kB / 0.65 GB, free: 3.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.1342, allocations: 89.53 kB / 0.65 GB, free: 3.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1343, allocations: 8 kB / 0.6501 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1343, allocations: 0 / 0.6501 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1343, allocations: 0 / 0.6501 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.1344, allocations: 12 kB / 0.6501 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1344, allocations: 0 / 0.6501 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.1344, allocations: 3.953 kB / 0.6501 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1344, allocations: 4 kB / 0.6501 GB, free: 3.207 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 (4): * Single equations (assignments): 4 * 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 7.079e-05/0.1345, allocations: 113.8 kB / 0.6502 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1345, allocations: 7.938 kB / 0.6502 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.1347, allocations: 103.6 kB / 0.6503 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1347, allocations: 0 / 0.6503 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1347, allocations: 3.984 kB / 0.6503 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1348, allocations: 0 / 0.6503 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1349, allocations: 181.6 kB / 0.6505 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1349, allocations: 4 kB / 0.6505 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.1349, allocations: 11.94 kB / 0.6505 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.135, allocations: 0 / 0.6505 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.135, allocations: 7.984 kB / 0.6505 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.135, allocations: 0 / 0.6505 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.135, allocations: 4 kB / 0.6505 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1351, allocations: 105.1 kB / 0.6506 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.1352, allocations: 85 kB / 0.6507 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1352, allocations: 0 / 0.6507 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.1352, allocations: 0 / 0.6507 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1352, allocations: 7.938 kB / 0.6507 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1352, allocations: 8 kB / 0.6507 GB, free: 2.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.1353, allocations: 95.2 kB / 0.6508 GB, free: 2.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1353, allocations: 0 / 0.6508 GB, free: 2.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.1357, allocations: 123.6 kB / 0.6509 GB, free: 2.254 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 (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 Backend phase and start with SimCode phase: time 0.0007886/0.1365, allocations: 0.7978 MB / 0.6517 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1366, allocations: 51.92 kB / 0.6517 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1366, allocations: 0 / 0.6517 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.1367, allocations: 23.98 kB / 0.6517 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1369, allocations: 14.33 kB / 0.6518 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1374, allocations: 231.8 kB / 0.652 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1376, allocations: 0.6924 MB / 0.6527 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.222e-05/0.1377, allocations: 13.81 kB / 0.6527 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1377, allocations: 19.42 kB / 0.6527 GB, free: 336 kB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1377, allocations: 0 / 0.6527 GB, free: 336 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.1575, allocations: 3.851 MB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.538, allocations: 13.83 kB / 0.6565 GB, free: 12.69 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)