Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_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.001534/0.001534, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.569/0.569, allocations: 91.97 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008963/0.0008961, allocations: 104.2 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 12 kB / 0.4984 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 72.3 MB / 0.569 GB, free: 1.781 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.6152, allocations: 103.3 MB / 0.6698 GB, free: 1.059 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.6155, allocations: 107.9 kB / 0.6699 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005031/0.6206, allocations: 2.153 MB / 0.6721 GB, free: 14.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6206, allocations: 0 / 0.6721 GB, free: 14.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6206, allocations: 0 / 0.6721 GB, free: 14.81 MB / 474.7 MB 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.0002916/0.6209, allocations: 332 kB / 0.6724 GB, free: 14.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.621, allocations: 12.03 kB / 0.6724 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.621, allocations: 34.56 kB / 0.6724 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.621, allocations: 3.953 kB / 0.6724 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.6212, allocations: 167.1 kB / 0.6726 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.6212, allocations: 4 kB / 0.6726 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.6212, allocations: 0 / 0.6726 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.6213, allocations: 29.64 kB / 0.6726 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6213, allocations: 0 / 0.6726 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.6213, allocations: 0 / 0.6726 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6213, allocations: 0 / 0.6726 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.412e-05/0.6214, allocations: 7.953 kB / 0.6726 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.6218, allocations: 464.6 kB / 0.6731 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.105e-05/0.6218, allocations: 173.2 kB / 0.6732 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.6219, allocations: 79.22 kB / 0.6733 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.6219, allocations: 106.5 kB / 0.6734 GB, free: 13.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.6219, allocations: 0 / 0.6734 GB, free: 13.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.622, allocations: 33.66 kB / 0.6734 GB, free: 13.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.622, allocations: 130.7 kB / 0.6736 GB, free: 13.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.6221, allocations: 101 kB / 0.6737 GB, free: 12.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.6222, allocations: 25.7 kB / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.6222, allocations: 80.14 kB / 0.6738 GB, free: 12.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.6222, allocations: 3.938 kB / 0.6738 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.6222, allocations: 0 / 0.6738 GB, free: 12.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6224, allocations: 310.8 kB / 0.6741 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.6224, allocations: 8 kB / 0.6741 GB, free: 12.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.6224, allocations: 3.938 kB / 0.6741 GB, free: 12.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.663e-05/0.6224, allocations: 0 / 0.6741 GB, free: 12.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6224, allocations: 0 / 0.6741 GB, free: 12.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.275e-05/0.6225, allocations: 37.7 kB / 0.6741 GB, free: 12.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6225, allocations: 4 kB / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6225, allocations: 3.984 kB / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.6226, allocations: 0 / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.6226, allocations: 4 kB / 0.6741 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6226, allocations: 8.047 kB / 0.6741 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.6226, allocations: 3.938 kB / 0.6741 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.6226, allocations: 0 / 0.6741 GB, free: 12.45 MB / 474.7 MB 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.254e-05/0.6227, allocations: 181.1 kB / 0.6743 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.6228, allocations: 112.9 kB / 0.6744 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.6228, allocations: 104.1 kB / 0.6745 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/0.6229, allocations: 180.2 kB / 0.6747 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/0.6229, allocations: 191.2 kB / 0.6749 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-05/0.623, allocations: 185 kB / 0.675 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.6232, allocations: 401.2 kB / 0.6754 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.6233, allocations: 101 kB / 0.6755 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.6233, allocations: 116.9 kB / 0.6756 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.6234, allocations: 180.3 kB / 0.6758 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.6234, allocations: 176.3 kB / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.6235, allocations: 184.2 kB / 0.6761 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.828e-05/0.6235, allocations: 180.3 kB / 0.6763 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.6237, allocations: 315.6 kB / 0.6766 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.6237, allocations: 182.1 kB / 0.6768 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.6238, allocations: 180.2 kB / 0.677 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.6239, allocations: 109 kB / 0.6771 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.624, allocations: 180.2 kB / 0.6772 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.624, allocations: 101 kB / 0.6773 GB, free: 8.945 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.624, allocations: 87.27 kB / 0.6774 GB, free: 8.859 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.6241, allocations: 0 / 0.6774 GB, free: 8.859 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.6243, allocations: 31.92 kB / 0.6774 GB, free: 8.828 MB / 474.7 MB 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.0006086/0.6249, allocations: 0.8733 MB / 0.6783 GB, free: 7.941 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.116e-05/0.625, allocations: 4 kB / 0.6783 GB, free: 7.938 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.625, allocations: 0 / 0.6783 GB, free: 7.938 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.625, allocations: 4 kB / 0.6783 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.6253, allocations: 0.5284 MB / 0.6788 GB, free: 7.402 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.6284, allocations: 1.193 MB / 0.68 GB, free: 6.168 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.6287, allocations: 0.6731 MB / 0.6806 GB, free: 5.469 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.6287, allocations: 7.984 kB / 0.6807 GB, free: 5.461 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.6287, allocations: 7.438 kB / 0.6807 GB, free: 5.453 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6287, allocations: 0 / 0.6807 GB, free: 5.453 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.64, allocations: 1.299 MB / 0.6819 GB, free: 4.371 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.6402, allocations: 296.6 kB / 0.6822 GB, free: 4.004 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.312, allocations: 0 / 0.6822 GB, free: 4.004 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)