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.001184/0.001184, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001257/0.001257, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 126.1 MB / 417.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.62 kB / 0.5727 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1385, allocations: 78.7 MB / 0.6495 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.002343/0.1409, allocations: 1.354 MB / 0.6508 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1428, allocations: 1.345 MB / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.1429, allocations: 0 / 0.6522 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.1429, allocations: 15.92 kB / 0.6522 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1431, allocations: 7.922 kB / 0.6522 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.144, allocations: 395 kB / 0.6526 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.1441, allocations: 51.78 kB / 0.6526 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.1441, allocations: 0 / 0.6526 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.1442, allocations: 23.91 kB / 0.6526 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1442, allocations: 23.92 kB / 0.6526 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1442, allocations: 4 kB / 0.6526 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.145, allocations: 0.507 MB / 0.6531 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.145, allocations: 11.98 kB / 0.6532 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1451, allocations: 19.88 kB / 0.6532 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1456, allocations: 387 kB / 0.6535 GB, free: 468 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1456, allocations: 3.938 kB / 0.6535 GB, free: 464 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1456, allocations: 11.94 kB / 0.6536 GB, free: 452 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1456, allocations: 0 / 0.6536 GB, free: 452 kB / 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.0004661/0.1461, allocations: 427.8 kB / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1461, allocations: 8.031 kB / 0.654 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1462, allocations: 30.75 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1462, allocations: 8.891 kB / 0.654 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1463, allocations: 168.3 kB / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1463, allocations: 2.812 kB / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.1464, allocations: 0 / 0.6542 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1465, allocations: 61.61 kB / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1465, allocations: 0 / 0.6542 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1465, allocations: 4 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1465, allocations: 0 / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.1466, allocations: 39.97 kB / 0.6543 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1468, allocations: 177.6 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.1468, allocations: 54.59 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.1469, allocations: 28.94 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.1469, allocations: 12 kB / 0.6545 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.147, allocations: 30.56 kB / 0.6546 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.147, allocations: 3.938 kB / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001916/0.1472, allocations: 89.66 kB / 0.6547 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1472, allocations: 59.41 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.1473, allocations: 117.7 kB / 0.6548 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1473, allocations: 25.7 kB / 0.6548 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.1474, allocations: 92.14 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1474, allocations: 19.83 kB / 0.655 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1474, allocations: 17.72 kB / 0.655 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.1475, allocations: 318.8 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.1476, allocations: 15.98 kB / 0.6553 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.1476, allocations: 19.98 kB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.1477, allocations: 49.06 kB / 0.6554 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1477, allocations: 0 / 0.6554 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.1478, allocations: 81.61 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1478, allocations: 8 kB / 0.6554 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1478, allocations: 0 / 0.6554 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1478, allocations: 0 / 0.6554 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.1479, allocations: 8 kB / 0.6555 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1479, allocations: 0 / 0.6555 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.1479, allocations: 7.938 kB / 0.6555 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.148, allocations: 3.984 kB / 0.6555 GB, free: 14.26 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 (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 6.527e-05/0.148, allocations: 109.8 kB / 0.6556 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.148, allocations: 7.953 kB / 0.6556 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.1482, allocations: 115.2 kB / 0.6557 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1483, allocations: 4 kB / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1483, allocations: 0 / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1483, allocations: 3.938 kB / 0.6557 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1484, allocations: 177.6 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1484, allocations: 4.062 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.1484, allocations: 11.98 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1484, allocations: 0 / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1485, allocations: 4 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1485, allocations: 0 / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1485, allocations: 4 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.1486, allocations: 116.9 kB / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1487, allocations: 81.06 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1487, allocations: 4 kB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.1487, allocations: 0 / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.1487, allocations: 7.922 kB / 0.6561 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1487, allocations: 7.938 kB / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.1488, allocations: 91.27 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 4 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003408/0.1491, allocations: 119.6 kB / 0.6563 GB, free: 13.29 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 (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.0007487/0.1499, allocations: 0.7878 MB / 0.6571 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.15, allocations: 43.98 kB / 0.6571 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.15, allocations: 4 kB / 0.6571 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1501, allocations: 23.98 kB / 0.6571 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1503, allocations: 24.55 kB / 0.6572 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.1508, allocations: 234.1 kB / 0.6574 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.151, allocations: 0.6846 MB / 0.6581 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.151, allocations: 19.61 kB / 0.6581 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1511, allocations: 23.44 kB / 0.6581 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1511, allocations: 0 / 0.6581 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.165/2.316, allocations: 3.841 MB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.986/11.3, allocations: 21.84 kB / 0.6619 GB, free: 7.727 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)