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.001453/0.001453, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8869/0.8869, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.0009015/0.0009014, allocations: 102.3 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.046e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4179, allocations: 82.31 MB / 0.634 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.6077, allocations: 112.3 MB / 0.7436 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.608, allocations: 99.92 kB / 0.7437 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005066/0.6131, allocations: 2.047 MB / 0.7457 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6132, allocations: 0 / 0.7457 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6132, allocations: 0 / 0.7457 GB, free: 8.238 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.0002665/0.6134, allocations: 330.5 kB / 0.746 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6135, allocations: 12.03 kB / 0.746 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.6135, allocations: 0 / 0.746 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.6137, allocations: 167 kB / 0.7462 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6137, allocations: 0 / 0.7462 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.6137, allocations: 7.938 kB / 0.7462 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.937e-05/0.6137, allocations: 0 / 0.7462 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.334e-05/0.6138, allocations: 33.64 kB / 0.7462 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6138, allocations: 0 / 0.7462 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6138, allocations: 4 kB / 0.7462 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.6138, allocations: 0 / 0.7462 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.6142, allocations: 445.1 kB / 0.7466 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.6143, allocations: 169.1 kB / 0.7468 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.6144, allocations: 84.17 kB / 0.7469 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.6144, allocations: 79.27 kB / 0.747 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.6144, allocations: 117.8 kB / 0.7471 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6145, allocations: 0 / 0.7471 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.818e-05/0.6145, allocations: 29.61 kB / 0.7471 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6146, allocations: 51.41 kB / 0.7472 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.6146, allocations: 93 kB / 0.7472 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.6147, allocations: 29.7 kB / 0.7473 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.6147, allocations: 84.14 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.6147, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.6147, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6148, allocations: 314.8 kB / 0.7477 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.6148, allocations: 0 / 0.7477 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.6149, allocations: 7.984 kB / 0.7477 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.6149, allocations: 4.062 kB / 0.7477 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6149, allocations: 0 / 0.7477 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.615, allocations: 37.64 kB / 0.7477 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.615, allocations: 8 kB / 0.7477 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6151, allocations: 3.984 kB / 0.7477 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6151, allocations: 0 / 0.7477 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.409e-05/0.6151, allocations: 0 / 0.7477 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6151, allocations: 0 / 0.7477 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.6151, allocations: 0 / 0.7477 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.6151, allocations: 0 / 0.7477 GB, free: 5.949 MB / 0.5261 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 9.66e-05/0.6152, allocations: 188.2 kB / 0.7479 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.896e-05/0.6153, allocations: 134.6 kB / 0.748 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.6154, allocations: 109 kB / 0.7481 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.6154, allocations: 104.7 kB / 0.7482 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.6155, allocations: 184.9 kB / 0.7484 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.564e-05/0.6155, allocations: 180.3 kB / 0.7486 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/0.6156, allocations: 180.3 kB / 0.7487 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.6158, allocations: 393.7 kB / 0.7491 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/0.6158, allocations: 101 kB / 0.7492 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.6159, allocations: 105 kB / 0.7493 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.6159, allocations: 180.2 kB / 0.7495 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.616, allocations: 184.2 kB / 0.7497 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-05/0.6161, allocations: 176.3 kB / 0.7498 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.412e-05/0.6161, allocations: 184.2 kB / 0.75 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.6163, allocations: 307.8 kB / 0.7503 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.6163, allocations: 193.9 kB / 0.7505 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.6164, allocations: 180.2 kB / 0.7507 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.6165, allocations: 101 kB / 0.7508 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.6166, allocations: 189.1 kB / 0.7509 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6166, allocations: 101 kB / 0.751 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.6166, allocations: 83.28 kB / 0.7511 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6166, allocations: 4 kB / 0.7511 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002489/0.6169, allocations: 20 kB / 0.7511 GB, free: 2.227 MB / 0.5261 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.0006222/0.6175, allocations: 0.8674 MB / 0.752 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.799e-05/0.6176, allocations: 0 / 0.752 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6176, allocations: 4 kB / 0.752 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.6176, allocations: 0 / 0.752 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.6179, allocations: 0.5271 MB / 0.7525 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.6211, allocations: 1.07 MB / 0.7535 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.6213, allocations: 0.6768 MB / 0.7542 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.6213, allocations: 8 kB / 0.7542 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.6214, allocations: 7.438 kB / 0.7542 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6214, allocations: 0 / 0.7542 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.6421, allocations: 0.9918 MB / 0.7552 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/0.6425, allocations: 240.4 kB / 0.7554 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.069, allocations: 0 / 0.7554 GB, free: 13.73 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)