Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001456/0.001456, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6918/0.6918, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 64.12 kB / 0.5012 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 80.2 MB / 0.5795 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001827/0.1423, allocations: 0.6172 MB / 0.5801 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1436, allocations: 0.9971 MB / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.1436, allocations: 0 / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.1437, allocations: 0 / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.1443, allocations: 87.78 kB / 0.5812 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.586e-05/0.1443, allocations: 4 kB / 0.5812 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.042e-05/0.1444, allocations: 19.91 kB / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1444, allocations: 0 / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.1444, allocations: 4 kB / 0.5812 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1447, allocations: 32.62 kB / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.1447, allocations: 0 / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1448, allocations: 79.86 kB / 0.5813 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-06/0.1448, allocations: 3.984 kB / 0.5813 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1449, allocations: 3.938 kB / 0.5813 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.145, allocations: 71.91 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.145, allocations: 0 / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.145, allocations: 8 kB / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.145, allocations: 0 / 0.5814 GB, free: 7.164 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002746/0.1453, allocations: 335.7 kB / 0.5817 GB, free: 6.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1453, allocations: 8.031 kB / 0.5818 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1454, allocations: 30.75 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.1454, allocations: 0.9375 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.1455, allocations: 172.4 kB / 0.5819 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1455, allocations: 4.125 kB / 0.5819 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-06/0.1455, allocations: 0 / 0.5819 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.1456, allocations: 37.64 kB / 0.582 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1456, allocations: 0 / 0.582 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.1456, allocations: 3.938 kB / 0.582 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1456, allocations: 0 / 0.582 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.361e-05/0.1457, allocations: 0 / 0.582 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.146, allocations: 468.6 kB / 0.5824 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.1461, allocations: 173.1 kB / 0.5826 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.1461, allocations: 84.08 kB / 0.5827 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1461, allocations: 79.28 kB / 0.5828 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1462, allocations: 109.8 kB / 0.5829 GB, free: 5.496 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1462, allocations: 0 / 0.5829 GB, free: 5.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.622e-05/0.1462, allocations: 25.7 kB / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1463, allocations: 130.7 kB / 0.583 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.1464, allocations: 101.8 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1464, allocations: 29.7 kB / 0.5831 GB, free: 5.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1464, allocations: 80.14 kB / 0.5832 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1464, allocations: 0 / 0.5832 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1465, allocations: 9.719 kB / 0.5832 GB, free: 5.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.1466, allocations: 318.8 kB / 0.5835 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1466, allocations: 3.938 kB / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.1466, allocations: 7.984 kB / 0.5835 GB, free: 4.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.1466, allocations: 16.8 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1466, allocations: 4 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.406e-05/0.1467, allocations: 33.61 kB / 0.5836 GB, free: 4.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1467, allocations: 8 kB / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1468, allocations: 0 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1468, allocations: 192 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.329e-05/0.1468, allocations: 0 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1468, allocations: 96 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.1468, allocations: 4 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1468, allocations: 3.938 kB / 0.5836 GB, free: 4.672 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: 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.002e-05/0.1469, allocations: 193 kB / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.147, allocations: 105 kB / 0.5839 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.147, allocations: 108.1 kB / 0.584 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-05/0.1471, allocations: 184.2 kB / 0.5842 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-05/0.1471, allocations: 184.4 kB / 0.5843 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.912e-05/0.1472, allocations: 184.2 kB / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1474, allocations: 405.2 kB / 0.5849 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.1475, allocations: 104.9 kB / 0.585 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.1475, allocations: 108.9 kB / 0.5851 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.489e-05/0.1476, allocations: 180.3 kB / 0.5853 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.1476, allocations: 184.2 kB / 0.5855 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.1477, allocations: 176.3 kB / 0.5856 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.568e-05/0.1478, allocations: 180.3 kB / 0.5858 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1479, allocations: 315.7 kB / 0.5861 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.148, allocations: 182 kB / 0.5863 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.148, allocations: 184.3 kB / 0.5864 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.1481, allocations: 105 kB / 0.5865 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1482, allocations: 180.2 kB / 0.5867 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.1482, allocations: 101 kB / 0.5868 GB, free: 1.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.939e-05/0.1482, allocations: 87.22 kB / 0.5869 GB, free: 1.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1482, allocations: 0 / 0.5869 GB, free: 1.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1485, allocations: 27.98 kB / 0.5869 GB, free: 1.039 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 (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.0005002/0.149, allocations: 0.8562 MB / 0.5878 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.574e-05/0.149, allocations: 0 / 0.5878 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1491, allocations: 0 / 0.5878 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.1491, allocations: 4 kB / 0.5878 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1494, allocations: 0.5301 MB / 0.5883 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1498, allocations: 234.2 kB / 0.5885 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.15, allocations: 0.6692 MB / 0.5892 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.1501, allocations: 8 kB / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.1501, allocations: 7.438 kB / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1501, allocations: 0 / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.247, allocations: 1.393 MB / 0.5905 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/1.247, allocations: 308 kB / 0.5908 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/3.169, allocations: 7.578 kB / 0.5908 GB, free: 13.09 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)