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.006856/0.006856, allocations: 101.3 kB / 15.73 MB, free: 6.059 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.001736/0.001736, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8257/0.8257, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.52 kB / 0.5858 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1548, allocations: 81.01 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001698/0.1565, allocations: 0.5578 MB / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1578, allocations: 0.9918 MB / 0.6664 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.1578, allocations: 0 / 0.6664 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1579, allocations: 0 / 0.6664 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006849/0.1586, allocations: 91.77 kB / 0.6665 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.1586, allocations: 15.94 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.1587, allocations: 4 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1587, allocations: 4 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.1587, allocations: 4 kB / 0.6665 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.159, allocations: 35.91 kB / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.159, allocations: 0 / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1592, allocations: 83.84 kB / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1592, allocations: 0 / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.1592, allocations: 0 / 0.6666 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1594, allocations: 64.14 kB / 0.6667 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1594, allocations: 4 kB / 0.6667 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1594, allocations: 3.938 kB / 0.6667 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1594, allocations: 0 / 0.6667 GB, free: 3.762 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.0003687/0.1598, allocations: 335.4 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1599, allocations: 13.11 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.1599, allocations: 30.75 kB / 0.6671 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.1599, allocations: 8.922 kB / 0.6671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1601, allocations: 168.3 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1601, allocations: 3.938 kB / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1601, allocations: 0 / 0.6672 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.1602, allocations: 33.64 kB / 0.6673 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1602, allocations: 3.984 kB / 0.6673 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.1602, allocations: 0 / 0.6673 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1602, allocations: 4 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.1602, allocations: 3.938 kB / 0.6673 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1607, allocations: 468.6 kB / 0.6677 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.551e-05/0.1608, allocations: 165.1 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.1608, allocations: 84.08 kB / 0.668 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1609, allocations: 83.28 kB / 0.6681 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.1609, allocations: 105.8 kB / 0.6682 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1609, allocations: 0 / 0.6682 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.429e-05/0.161, allocations: 25.7 kB / 0.6682 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1611, allocations: 134.7 kB / 0.6683 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.1611, allocations: 97.86 kB / 0.6684 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1612, allocations: 25.7 kB / 0.6684 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1612, allocations: 84.14 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.1612, allocations: 0 / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1613, allocations: 17.72 kB / 0.6685 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1614, allocations: 318.8 kB / 0.6688 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1614, allocations: 0 / 0.6688 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.1614, allocations: 3.938 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.1615, allocations: 12.86 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1615, allocations: 4.062 kB / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.341e-05/0.1616, allocations: 37.64 kB / 0.6689 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1616, allocations: 8 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1616, allocations: 0 / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1616, allocations: 0 / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.1616, allocations: 3.984 kB / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1616, allocations: 0 / 0.6689 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1617, allocations: 3.938 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1617, allocations: 4 kB / 0.6689 GB, free: 1.262 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 0.0001005/0.1618, allocations: 189.1 kB / 0.6691 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.1618, allocations: 104.9 kB / 0.6692 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.1619, allocations: 108.1 kB / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-05/0.162, allocations: 180.2 kB / 0.6695 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.28e-05/0.1621, allocations: 184.2 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.557e-05/0.1621, allocations: 188.1 kB / 0.6698 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1624, allocations: 401.2 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.427e-05/0.1625, allocations: 101 kB / 0.6703 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.1625, allocations: 104.9 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/0.1626, allocations: 184.3 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.1627, allocations: 184.4 kB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.401e-05/0.1628, allocations: 184.3 kB / 0.6709 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/0.1629, allocations: 180.2 kB / 0.6711 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.163, allocations: 307.7 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.1631, allocations: 182 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.1632, allocations: 192.2 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1633, allocations: 101 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.1634, allocations: 180.4 kB / 0.672 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.1634, allocations: 112.9 kB / 0.6721 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.1635, allocations: 79.27 kB / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1635, allocations: 0 / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002495/0.1637, allocations: 23.92 kB / 0.6722 GB, free: 13.64 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.0006672/0.1644, allocations: 0.8619 MB / 0.6731 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.329e-05/0.1645, allocations: 8 kB / 0.6731 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1645, allocations: 3.938 kB / 0.6731 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1645, allocations: 0 / 0.6731 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1649, allocations: 459.6 kB / 0.6735 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.1654, allocations: 238.6 kB / 0.6737 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1657, allocations: 0.6768 MB / 0.6744 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.1658, allocations: 0 / 0.6744 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1658, allocations: 15.42 kB / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1658, allocations: 0 / 0.6744 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1883, allocations: 1.538 MB / 0.6759 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.418, allocations: 11.06 kB / 0.6759 GB, free: 9.949 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)