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.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.001074/0.001074, allocations: 108.6 kB / 16.41 MB, free: 6.445 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.00102/0.00102, allocations: 189.2 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.7101/0.7101, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 69.47 kB / 0.568 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1305, allocations: 77.94 MB / 0.6441 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002364/0.1329, allocations: 1.286 MB / 0.6454 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.135, allocations: 1.342 MB / 0.6467 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.1351, allocations: 0 / 0.6467 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.1351, allocations: 3.984 kB / 0.6467 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1352, allocations: 7.984 kB / 0.6467 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1362, allocations: 375.1 kB / 0.6471 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1364, allocations: 47.83 kB / 0.6471 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1364, allocations: 3.984 kB / 0.6471 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.1364, allocations: 8 kB / 0.6471 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.1365, allocations: 23.97 kB / 0.6471 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1365, allocations: 0 / 0.6471 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007743/0.1373, allocations: 0.5226 MB / 0.6476 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1374, allocations: 19.92 kB / 0.6477 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1374, allocations: 11.94 kB / 0.6477 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.1379, allocations: 351 kB / 0.648 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1379, allocations: 0 / 0.648 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.138, allocations: 0 / 0.648 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.138, allocations: 0 / 0.648 GB, free: 5.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005004/0.1385, allocations: 426.6 kB / 0.6484 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1385, allocations: 16.62 kB / 0.6484 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.1386, allocations: 30.75 kB / 0.6485 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.1389, allocations: 28.91 kB / 0.6485 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.139, allocations: 184.2 kB / 0.6487 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.139, allocations: 4.375 kB / 0.6487 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1391, allocations: 384 / 0.6487 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1392, allocations: 57.8 kB / 0.6487 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1392, allocations: 0 / 0.6487 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1392, allocations: 4 kB / 0.6487 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1392, allocations: 0 / 0.6487 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1394, allocations: 59.92 kB / 0.6488 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1396, allocations: 177.7 kB / 0.649 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1397, allocations: 62.48 kB / 0.649 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1398, allocations: 24.97 kB / 0.649 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.1403, allocations: 201 kB / 0.6492 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1403, allocations: 46.48 kB / 0.6493 GB, free: 4.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1404, allocations: 0 / 0.6493 GB, free: 4.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002629/0.1406, allocations: 93.62 kB / 0.6494 GB, free: 3.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1407, allocations: 59.33 kB / 0.6494 GB, free: 3.871 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.1408, allocations: 117.8 kB / 0.6495 GB, free: 3.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1408, allocations: 25.7 kB / 0.6496 GB, free: 3.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.1408, allocations: 92.14 kB / 0.6496 GB, free: 3.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1409, allocations: 19.8 kB / 0.6497 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1409, allocations: 25.7 kB / 0.6497 GB, free: 3.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.141, allocations: 314.8 kB / 0.65 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.1411, allocations: 19.98 kB / 0.65 GB, free: 3.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.1411, allocations: 15.98 kB / 0.65 GB, free: 3.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.1412, allocations: 57.2 kB / 0.6501 GB, free: 3.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1412, allocations: 0 / 0.6501 GB, free: 3.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000143/0.1414, allocations: 85.55 kB / 0.6502 GB, free: 3.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1414, allocations: 4 kB / 0.6502 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1414, allocations: 0 / 0.6502 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1414, allocations: 0 / 0.6502 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1415, allocations: 12 kB / 0.6502 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1415, allocations: 0 / 0.6502 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1416, allocations: 7.953 kB / 0.6502 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1416, allocations: 4 kB / 0.6502 GB, free: 3.043 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 (6): * Single equations (assignments): 6 * 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.517e-05/0.1417, allocations: 117.8 kB / 0.6503 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.1417, allocations: 7.938 kB / 0.6503 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.1422, allocations: 294.6 kB / 0.6506 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1422, allocations: 0 / 0.6506 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1422, allocations: 4 kB / 0.6506 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1422, allocations: 0 / 0.6506 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.1424, allocations: 173.6 kB / 0.6508 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1424, allocations: 0 / 0.6508 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.1424, allocations: 16 kB / 0.6508 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1425, allocations: 11.98 kB / 0.6508 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1425, allocations: 8 kB / 0.6508 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1425, allocations: 0 / 0.6508 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1425, allocations: 0 / 0.6508 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1427, allocations: 105.1 kB / 0.6509 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1427, allocations: 96.81 kB / 0.651 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1427, allocations: 0 / 0.651 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.891e-05/0.1428, allocations: 7.984 kB / 0.651 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1428, allocations: 4 kB / 0.651 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1428, allocations: 8 kB / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.1429, allocations: 91.73 kB / 0.6511 GB, free: 2.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 0.6511 GB, free: 2.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00035/0.1432, allocations: 107.7 kB / 0.6512 GB, free: 1.91 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 (7): * Single equations (assignments): 7 * 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.000781/0.144, allocations: 0.788 MB / 0.652 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1442, allocations: 51.91 kB / 0.652 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1442, allocations: 0 / 0.652 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.1443, allocations: 27.98 kB / 0.652 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1445, allocations: 16.8 kB / 0.6521 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1458, allocations: 1.386 MB / 0.6534 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.146, allocations: 0.6924 MB / 0.6541 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003296/0.1464, allocations: 264 kB / 0.6543 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1464, allocations: 19.44 kB / 0.6544 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1464, allocations: 0 / 0.6544 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09147/0.2379, allocations: 4.011 MB / 0.6583 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.638, allocations: 12.14 kB / 0.6583 GB, free: 10.74 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)