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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.003979/0.003979, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6494/0.6494, allocations: 135.2 MB / 151 MB, free: 13.81 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.178/1.178, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.000883, allocations: 100.9 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 16 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3215, allocations: 82.3 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4543, allocations: 113 MB / 0.7599 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4546, allocations: 111.8 kB / 0.76 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004717/0.4594, allocations: 2.05 MB / 0.762 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4594, allocations: 0 / 0.762 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4594, allocations: 0 / 0.762 GB, free: 0.8242 MB / 0.5261 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.0002614/0.4597, allocations: 335.4 kB / 0.7623 GB, free: 460 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4597, allocations: 12.03 kB / 0.7623 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.4598, allocations: 30.56 kB / 0.7624 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.731e-05/0.4598, allocations: 0 / 0.7624 GB, free: 408 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4599, allocations: 178.9 kB / 0.7625 GB, free: 188 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4599, allocations: 3.938 kB / 0.7625 GB, free: 184 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.4599, allocations: 4 kB / 0.7625 GB, free: 180 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.308e-05/0.46, allocations: 25.7 kB / 0.7626 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.46, allocations: 0 / 0.7626 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.46, allocations: 3.984 kB / 0.7626 GB, free: 144 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.46, allocations: 3.984 kB / 0.7626 GB, free: 140 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.46, allocations: 7.938 kB / 0.7626 GB, free: 132 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4604, allocations: 464.6 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.4605, allocations: 173.1 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4605, allocations: 75.28 kB / 0.7633 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.4606, allocations: 109.8 kB / 0.7634 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4606, allocations: 4 kB / 0.7634 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.831e-05/0.4606, allocations: 25.7 kB / 0.7634 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4607, allocations: 126.7 kB / 0.7635 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.4608, allocations: 96.98 kB / 0.7636 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.4608, allocations: 29.64 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.4608, allocations: 84.14 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.4608, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.4609, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.461, allocations: 318.8 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-06/0.461, allocations: 4 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-06/0.461, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/0.461, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.461, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.451e-05/0.4611, allocations: 37.69 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4611, allocations: 4.938 kB / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4611, allocations: 0 / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.4611, allocations: 0 / 0.7641 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.25e-05/0.4612, allocations: 4.094 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4612, allocations: 4 kB / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.4612, allocations: 0 / 0.7641 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.4612, allocations: 0 / 0.7641 GB, free: 14.46 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.4613, allocations: 193 kB / 0.7643 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.4614, allocations: 112.9 kB / 0.7644 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.4614, allocations: 104.1 kB / 0.7645 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/0.4615, allocations: 184.2 kB / 0.7646 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.878e-05/0.4615, allocations: 176.3 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/0.4616, allocations: 189 kB / 0.765 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4618, allocations: 401.2 kB / 0.7654 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.4618, allocations: 101 kB / 0.7655 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.4619, allocations: 112.9 kB / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/0.462, allocations: 188.2 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/0.4621, allocations: 184.1 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.119e-05/0.4621, allocations: 176.3 kB / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-05/0.4622, allocations: 180.3 kB / 0.7663 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.4623, allocations: 317.4 kB / 0.7666 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4625, allocations: 185.9 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.4625, allocations: 176.3 kB / 0.7669 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.4626, allocations: 109 kB / 0.767 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.4627, allocations: 180.2 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.4627, allocations: 109 kB / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.4628, allocations: 83.28 kB / 0.7674 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4628, allocations: 0 / 0.7674 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002542/0.463, allocations: 27.98 kB / 0.7674 GB, free: 10.82 MB / 0.5417 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 (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.0005658/0.4636, allocations: 0.8642 MB / 0.7683 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.968e-05/0.4636, allocations: 4 kB / 0.7683 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4637, allocations: 0 / 0.7683 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.4637, allocations: 3.984 kB / 0.7683 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4639, allocations: 0.5357 MB / 0.7688 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4668, allocations: 1.112 MB / 0.7699 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.4671, allocations: 0.677 MB / 0.7705 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.4671, allocations: 0 / 0.7705 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4671, allocations: 11.44 kB / 0.7705 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of SimCode: time 1.362e-06/0.4671, allocations: 0 / 0.7705 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.253/1.72, allocations: 1.291 MB / 0.7718 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/1.721, allocations: 285 kB / 0.7721 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/3.413, allocations: 0 / 0.7721 GB, free: 6.094 MB / 0.5417 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/linux/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)