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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7119/0.7119, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 95.81 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.801e-05, allocations: 4.25 kB / 0.5602 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 82.31 MB / 0.6405 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.671, allocations: 112.9 MB / 0.7508 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.6713, allocations: 99.8 kB / 0.7509 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004743/0.676, allocations: 2.042 MB / 0.7529 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6761, allocations: 0 / 0.7529 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6761, allocations: 0 / 0.7529 GB, free: 27.51 MB / 0.5105 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.0002526/0.6763, allocations: 323.7 kB / 0.7532 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6764, allocations: 11.53 kB / 0.7532 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.6764, allocations: 38.44 kB / 0.7533 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.6765, allocations: 4.781 kB / 0.7533 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.6766, allocations: 170.8 kB / 0.7534 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6766, allocations: 2.906 kB / 0.7534 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.6766, allocations: 0 / 0.7534 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.6767, allocations: 25.7 kB / 0.7535 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6767, allocations: 0 / 0.7535 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.6767, allocations: 3.844 kB / 0.7535 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.6767, allocations: 0 / 0.7535 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.6768, allocations: 0 / 0.7535 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.6772, allocations: 473.6 kB / 0.7539 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.101e-05/0.6772, allocations: 168.6 kB / 0.7541 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.6773, allocations: 80.14 kB / 0.7542 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.6773, allocations: 79.22 kB / 0.7542 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.6774, allocations: 113.7 kB / 0.7543 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.6774, allocations: 0 / 0.7543 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.785e-05/0.6775, allocations: 36.27 kB / 0.7544 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.6775, allocations: 126.7 kB / 0.7545 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.6776, allocations: 96.86 kB / 0.7546 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.6776, allocations: 25.7 kB / 0.7546 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.6777, allocations: 87.95 kB / 0.7547 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.6777, allocations: 0 / 0.7547 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.6777, allocations: 4 kB / 0.7547 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6778, allocations: 317.4 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.6778, allocations: 0 / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.6778, allocations: 3.844 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.52e-05/0.6778, allocations: 3.938 kB / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6778, allocations: 0 / 0.755 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.261e-05/0.6779, allocations: 40.19 kB / 0.755 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.678, allocations: 3.812 kB / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.678, allocations: 4.094 kB / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.678, allocations: 0 / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-05/0.678, allocations: 2 kB / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.678, allocations: 0 / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.678, allocations: 3.969 kB / 0.7551 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.678, allocations: 0 / 0.7551 GB, free: 25.18 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.6781, allocations: 180.2 kB / 0.7552 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.6782, allocations: 103.8 kB / 0.7553 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.6783, allocations: 119.9 kB / 0.7554 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/0.6783, allocations: 180.2 kB / 0.7556 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-05/0.6784, allocations: 177 kB / 0.7558 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.441e-05/0.6785, allocations: 186.7 kB / 0.756 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.6787, allocations: 404 kB / 0.7564 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.6787, allocations: 112.9 kB / 0.7565 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.6787, allocations: 104.8 kB / 0.7566 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.048e-05/0.6788, allocations: 179 kB / 0.7567 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.6789, allocations: 180.2 kB / 0.7569 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.6789, allocations: 176.3 kB / 0.7571 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.071e-05/0.679, allocations: 184.5 kB / 0.7572 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6791, allocations: 314.1 kB / 0.7575 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.6792, allocations: 180.8 kB / 0.7577 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.6792, allocations: 180 kB / 0.7579 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.6793, allocations: 112.8 kB / 0.758 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.6794, allocations: 182.7 kB / 0.7582 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.6794, allocations: 105.9 kB / 0.7583 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.6795, allocations: 83.06 kB / 0.7584 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6795, allocations: 0 / 0.7584 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002639/0.6797, allocations: 30.02 kB / 0.7584 GB, free: 21.64 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005963/0.6803, allocations: 0.8591 MB / 0.7592 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.249e-05/0.6804, allocations: 10.73 kB / 0.7592 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6804, allocations: 0 / 0.7592 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.6804, allocations: 0 / 0.7592 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6807, allocations: 0.5269 MB / 0.7597 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.6834, allocations: 1.089 MB / 0.7608 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.6836, allocations: 0.6762 MB / 0.7615 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.6836, allocations: 0 / 0.7615 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.6837, allocations: 11.38 kB / 0.7615 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6837, allocations: 0 / 0.7615 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.6949, allocations: 1.305 MB / 0.7628 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.6952, allocations: 245.3 kB / 0.763 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.32, allocations: 0 / 0.763 GB, free: 18.74 MB / 0.5105 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/linux/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)