Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.004889/0.004889, allocations: 104.1 kB / 15.74 MB, free: 5.984 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: 197.8 kB / 16.68 MB, free: 5.91 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7825/0.7825, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 77.53 kB / 0.5852 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 80.92 MB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001565/0.142, allocations: 0.5602 MB / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1434, allocations: 0.9918 MB / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1434, allocations: 4 kB / 0.6657 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.1435, allocations: 0 / 0.6657 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.1442, allocations: 95.77 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.197e-05/0.1442, allocations: 11.94 kB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1443, allocations: 4 kB / 0.6658 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.1444, allocations: 0 / 0.6658 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.1444, allocations: 7.984 kB / 0.6658 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1446, allocations: 27.98 kB / 0.6659 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1447, allocations: 3.984 kB / 0.6659 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.1448, allocations: 79.92 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.1449, allocations: 3.938 kB / 0.6659 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.1449, allocations: 7.984 kB / 0.6659 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1451, allocations: 75.8 kB / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1451, allocations: 0 / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1451, allocations: 0 / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1451, allocations: 0 / 0.666 GB, free: 4.406 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003814/0.1455, allocations: 330.3 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1455, allocations: 9.109 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1456, allocations: 38.75 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1456, allocations: 0.9375 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1458, allocations: 164.4 kB / 0.6665 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1458, allocations: 3.938 kB / 0.6665 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.1458, allocations: 0 / 0.6665 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.1459, allocations: 33.69 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1459, allocations: 0 / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1459, allocations: 0 / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1459, allocations: 0 / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.1459, allocations: 7.938 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1463, allocations: 468.5 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.1464, allocations: 169.2 kB / 0.6672 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.1464, allocations: 80.14 kB / 0.6673 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.1465, allocations: 79.28 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.1465, allocations: 109.8 kB / 0.6674 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1465, allocations: 3.938 kB / 0.6675 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.503e-05/0.1466, allocations: 29.69 kB / 0.6675 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1467, allocations: 126.7 kB / 0.6676 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.1468, allocations: 105.8 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.1468, allocations: 25.7 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.1468, allocations: 80.14 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.1468, allocations: 4 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.1469, allocations: 17.7 kB / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.147, allocations: 314.8 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.147, allocations: 0 / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.147, allocations: 4 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.147, allocations: 12.8 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.147, allocations: 0 / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.238e-05/0.1471, allocations: 37.95 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1471, allocations: 7.984 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1471, allocations: 0 / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1472, allocations: 0 / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.544e-05/0.1472, allocations: 7.922 kB / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1472, allocations: 0 / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1472, allocations: 7.938 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1472, allocations: 0 / 0.6682 GB, free: 1.922 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.164e-05/0.1473, allocations: 185.1 kB / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.1474, allocations: 108.9 kB / 0.6685 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1474, allocations: 116.1 kB / 0.6686 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/0.1475, allocations: 176.3 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.781e-05/0.1476, allocations: 184.2 kB / 0.6689 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/0.1476, allocations: 180.2 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1478, allocations: 413.2 kB / 0.6695 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.1479, allocations: 101 kB / 0.6696 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1479, allocations: 101 kB / 0.6697 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.906e-05/0.148, allocations: 184.2 kB / 0.6699 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/0.1481, allocations: 180.5 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.259e-05/0.1482, allocations: 188.2 kB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.234e-05/0.1482, allocations: 180.3 kB / 0.6704 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1484, allocations: 307.7 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.1485, allocations: 186.1 kB / 0.6709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.1486, allocations: 184.2 kB / 0.671 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1486, allocations: 105 kB / 0.6711 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.1487, allocations: 180.2 kB / 0.6713 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.1488, allocations: 108.9 kB / 0.6714 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.1488, allocations: 83.27 kB / 0.6715 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 0.6715 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002532/0.1491, allocations: 16.56 kB / 0.6715 GB, free: 14.3 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0006956/0.1498, allocations: 0.8566 MB / 0.6723 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.1499, allocations: 4 kB / 0.6723 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1499, allocations: 64 / 0.6723 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1499, allocations: 7.938 kB / 0.6724 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1502, allocations: 459.6 kB / 0.6728 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.1507, allocations: 245.6 kB / 0.673 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.151, allocations: 0.6729 MB / 0.6737 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.151, allocations: 8 kB / 0.6737 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.151, allocations: 7.438 kB / 0.6737 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.151, allocations: 0 / 0.6737 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.1671, allocations: 1.534 MB / 0.6752 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.597, allocations: 8.438 kB / 0.6752 GB, free: 10.62 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)