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.005455/0.005455, allocations: 104 kB / 15.74 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.001175/0.001175, allocations: 199 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.69 kB / 0.5809 GB, free: 24.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002077/0.1621, allocations: 0.5353 MB / 0.6598 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1635, allocations: 0.9918 MB / 0.6607 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.1636, allocations: 7.938 kB / 0.6607 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.1636, allocations: 0 / 0.6607 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009104/0.1645, allocations: 91.78 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.252e-05/0.1646, allocations: 15.94 kB / 0.6608 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.1647, allocations: 11.97 kB / 0.6609 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.1647, allocations: 0 / 0.6609 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.1648, allocations: 4 kB / 0.6609 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.165, allocations: 29.83 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.165, allocations: 0 / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1652, allocations: 79.88 kB / 0.661 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1652, allocations: 15.92 kB / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.1652, allocations: 0 / 0.661 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1654, allocations: 67.91 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1654, allocations: 0 / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1654, allocations: 0 / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1654, allocations: 0 / 0.661 GB, free: 8.867 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.0004382/0.1659, allocations: 336.6 kB / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1659, allocations: 12.03 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.166, allocations: 30.75 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.166, allocations: 0.9375 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1662, allocations: 168.4 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1662, allocations: 7.938 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1662, allocations: 0 / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1663, allocations: 29.64 kB / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1663, allocations: 0 / 0.6616 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1664, allocations: 7.984 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1664, allocations: 0 / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.1664, allocations: 4 kB / 0.6616 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.167, allocations: 468.5 kB / 0.6621 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1671, allocations: 173.2 kB / 0.6622 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1671, allocations: 84.08 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1672, allocations: 75.28 kB / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.1672, allocations: 109.8 kB / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1672, allocations: 0 / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001036/0.1673, allocations: 33.7 kB / 0.6625 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.1674, allocations: 126.7 kB / 0.6626 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1675, allocations: 97.84 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1676, allocations: 25.7 kB / 0.6628 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.1676, allocations: 84.14 kB / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.1676, allocations: 0 / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1677, allocations: 17.72 kB / 0.6629 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1678, allocations: 314.8 kB / 0.6632 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1679, allocations: 3.938 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.1679, allocations: 7.938 kB / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.1679, allocations: 4.859 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1679, allocations: 0 / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001239/0.168, allocations: 41.69 kB / 0.6632 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1681, allocations: 8.094 kB / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1681, allocations: 0 / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1681, allocations: 0 / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.1681, allocations: 3.938 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1682, allocations: 4 kB / 0.6632 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.1682, allocations: 3.938 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1682, allocations: 0 / 0.6632 GB, free: 6.379 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.0001359/0.1683, allocations: 185.1 kB / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1685, allocations: 109 kB / 0.6635 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.1686, allocations: 108.1 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.98e-05/0.1687, allocations: 180.2 kB / 0.6638 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001781/0.1689, allocations: 184.3 kB / 0.664 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001659/0.169, allocations: 188.1 kB / 0.6641 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.1694, allocations: 397.2 kB / 0.6645 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/0.1695, allocations: 105 kB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.1695, allocations: 112.9 kB / 0.6647 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.1697, allocations: 180.2 kB / 0.6649 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.201e-05/0.1698, allocations: 184.4 kB / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001311/0.1699, allocations: 180.3 kB / 0.6652 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001499/0.1701, allocations: 184.3 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1703, allocations: 311.7 kB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.1704, allocations: 182 kB / 0.6659 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.1705, allocations: 176.3 kB / 0.6661 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.1706, allocations: 101 kB / 0.6662 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1708, allocations: 192.2 kB / 0.6663 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.1708, allocations: 108.9 kB / 0.6664 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.1709, allocations: 79.28 kB / 0.6665 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1709, allocations: 0 / 0.6665 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003158/0.1712, allocations: 16.56 kB / 0.6665 GB, free: 2.762 MB / 0.4981 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.0007999/0.172, allocations: 0.8753 MB / 0.6674 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.607e-05/0.1721, allocations: 4 kB / 0.6674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1721, allocations: 0 / 0.6674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/0.1721, allocations: 4 kB / 0.6674 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1725, allocations: 459.7 kB / 0.6678 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.173, allocations: 237.7 kB / 0.6681 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1734, allocations: 0.6729 MB / 0.6687 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.1734, allocations: 8 kB / 0.6687 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1734, allocations: 7.438 kB / 0.6687 GB, free: 428 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1734, allocations: 0 / 0.6687 GB, free: 428 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1924, allocations: 1.535 MB / 0.6702 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.578, allocations: 7.141 kB / 0.6702 GB, free: 15.08 MB / 0.5137 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)