Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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.001283/0.001283, allocations: 109.8 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.001241/0.001242, 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.232/1.232, 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.738/0.738, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.77 kB / 0.568 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 77.93 MB / 0.6441 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001828/0.1327, allocations: 0.5575 MB / 0.6447 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1348, allocations: 1.601 MB / 0.6462 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.1349, allocations: 3.938 kB / 0.6462 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.1349, allocations: 0 / 0.6462 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.135, allocations: 4 kB / 0.6462 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.1358, allocations: 199.3 kB / 0.6464 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.1359, allocations: 27.86 kB / 0.6465 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1359, allocations: 3.984 kB / 0.6465 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.136, allocations: 11.98 kB / 0.6465 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.103e-05/0.136, allocations: 4 kB / 0.6465 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.136, allocations: 4 kB / 0.6465 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.1365, allocations: 279.5 kB / 0.6467 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1366, allocations: 15.92 kB / 0.6468 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.1366, allocations: 3.938 kB / 0.6468 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.137, allocations: 163.8 kB / 0.6469 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.137, allocations: 0 / 0.6469 GB, free: 6.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.137, allocations: 0 / 0.6469 GB, free: 6.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.137, allocations: 0 / 0.6469 GB, free: 6.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000399/0.1374, allocations: 371 kB / 0.6473 GB, free: 6.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1375, allocations: 16.62 kB / 0.6473 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1375, allocations: 38.69 kB / 0.6473 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.1383, allocations: 68.81 kB / 0.6474 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1384, allocations: 172.4 kB / 0.6476 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1384, allocations: 4.375 kB / 0.6476 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1385, allocations: 8.375 kB / 0.6476 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1387, allocations: 81.73 kB / 0.6476 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1387, allocations: 0 / 0.6476 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1387, allocations: 0 / 0.6476 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1387, allocations: 4 kB / 0.6476 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.139, allocations: 79.88 kB / 0.6477 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.1392, allocations: 189.6 kB / 0.6479 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1393, allocations: 90.52 kB / 0.648 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.1394, allocations: 44.89 kB / 0.648 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1395, allocations: 0 / 0.648 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1395, allocations: 34.5 kB / 0.6481 GB, free: 5.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1395, allocations: 0 / 0.6481 GB, free: 5.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003515/0.1398, allocations: 149.5 kB / 0.6482 GB, free: 5.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1399, allocations: 51.41 kB / 0.6483 GB, free: 5.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.14, allocations: 105.8 kB / 0.6484 GB, free: 5.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.14, allocations: 29.7 kB / 0.6484 GB, free: 5.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.14, allocations: 84.14 kB / 0.6485 GB, free: 4.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1401, allocations: 19.8 kB / 0.6485 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1401, allocations: 25.69 kB / 0.6485 GB, free: 4.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.1402, allocations: 318.8 kB / 0.6488 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.1403, allocations: 35.91 kB / 0.6488 GB, free: 4.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.1404, allocations: 27.97 kB / 0.6489 GB, free: 4.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1405, allocations: 76.81 kB / 0.6489 GB, free: 4.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1405, allocations: 4 kB / 0.649 GB, free: 4.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002072/0.1408, allocations: 118.1 kB / 0.6491 GB, free: 4.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1408, allocations: 4 kB / 0.6491 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1408, allocations: 0 / 0.6491 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1408, allocations: 0 / 0.6491 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.141, allocations: 19.97 kB / 0.6491 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.141, allocations: 64 / 0.6491 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1411, allocations: 8 kB / 0.6491 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1412, allocations: 7.984 kB / 0.6491 GB, free: 4.297 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 (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 prepare postOptimizeDAE: time 8.77e-05/0.1412, allocations: 117.8 kB / 0.6492 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1413, allocations: 11.89 kB / 0.6492 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.1417, allocations: 213 kB / 0.6494 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1417, allocations: 0 / 0.6494 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1417, allocations: 0 / 0.6494 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1417, allocations: 0 / 0.6494 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1419, allocations: 217.4 kB / 0.6496 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1419, allocations: 7.922 kB / 0.6496 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1421, allocations: 27.94 kB / 0.6497 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1421, allocations: 4 kB / 0.6497 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1421, allocations: 7.984 kB / 0.6497 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1421, allocations: 0 / 0.6497 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1421, allocations: 0 / 0.6497 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1424, allocations: 191.8 kB / 0.6499 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1424, allocations: 92.94 kB / 0.65 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1425, allocations: 4 kB / 0.65 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.1426, allocations: 4 kB / 0.65 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.1426, allocations: 11.98 kB / 0.65 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1426, allocations: 4 kB / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.1427, allocations: 91.27 kB / 0.6501 GB, free: 3.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1427, allocations: 0 / 0.6501 GB, free: 3.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.143, allocations: 67.86 kB / 0.6501 GB, free: 3.145 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 (16): * Single equations (assignments): 16 * 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.000802/0.1438, allocations: 0.8112 MB / 0.6509 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.144, allocations: 103.9 kB / 0.651 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.144, allocations: 0 / 0.651 GB, free: 2.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1442, allocations: 79.91 kB / 0.6511 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.1443, allocations: 6.594 kB / 0.6511 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.1449, allocations: 270.8 kB / 0.6514 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1451, allocations: 0.6924 MB / 0.652 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.1452, allocations: 28.23 kB / 0.6521 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.1453, allocations: 27.41 kB / 0.6521 GB, free: 1.039 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1453, allocations: 0 / 0.6521 GB, free: 1.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.1666, allocations: 3.654 MB / 0.6557 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.484, allocations: 11.92 kB / 0.6557 GB, free: 13.59 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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_CylindricalHeatSource_Integrand.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)