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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001036/0.001036, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7602/0.7602, allocations: 122.8 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 0.4912 GB, free: 7.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3602, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001778/0.362, allocations: 0.5469 MB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.363, allocations: 0.9972 MB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.363, allocations: 1.125 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.363, allocations: 0 / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.3637, allocations: 98.36 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.071e-05/0.3638, allocations: 13.61 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.977e-05/0.3638, allocations: 8.688 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.3639, allocations: 2.312 kB / 0.569 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.3639, allocations: 6.062 kB / 0.569 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3641, allocations: 29.84 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3641, allocations: 0.8125 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.3643, allocations: 86.53 kB / 0.5691 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.3643, allocations: 1.625 kB / 0.5691 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.3643, allocations: 1.125 kB / 0.5691 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3645, allocations: 80.48 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3645, allocations: 0.5625 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3645, allocations: 1.344 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3645, allocations: 0.9375 kB / 0.5691 GB, free: 31.51 MB / 446.1 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.0002779/0.3648, allocations: 330.7 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3649, allocations: 10.98 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.3649, allocations: 30.75 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.3649, allocations: 5.734 kB / 0.5695 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.365, allocations: 163.9 kB / 0.5697 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.365, allocations: 0.9375 kB / 0.5697 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.365, allocations: 1.719 kB / 0.5697 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.3651, allocations: 37.41 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.3651, allocations: 1.719 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.3651, allocations: 0 / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3652, allocations: 0.5938 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.3652, allocations: 7.781 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.3655, allocations: 469.9 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.3655, allocations: 166.3 kB / 0.5703 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.3656, allocations: 86.3 kB / 0.5704 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3656, allocations: 80.56 kB / 0.5705 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3656, allocations: 108.6 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/0.3656, allocations: 3.984 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.145e-05/0.3657, allocations: 35.61 kB / 0.5706 GB, free: 29.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.3657, allocations: 128.2 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.3658, allocations: 99.28 kB / 0.5708 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.3658, allocations: 25.7 kB / 0.5709 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.3658, allocations: 90.36 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3658, allocations: 0.9375 kB / 0.571 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.3659, allocations: 13.17 kB / 0.571 GB, free: 29.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.3659, allocations: 316.2 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.3659, allocations: 1.938 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.366, allocations: 2.562 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.366, allocations: 11.83 kB / 0.5713 GB, free: 29.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.366, allocations: 0.5 kB / 0.5713 GB, free: 29.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.784e-05/0.3661, allocations: 38.42 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3661, allocations: 5.219 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3661, allocations: 0 / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3661, allocations: 1.953 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.58e-05/0.3661, allocations: 5.469 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3662, allocations: 1.031 kB / 0.5713 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.3662, allocations: 3.906 kB / 0.5713 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3662, allocations: 2.547 kB / 0.5713 GB, free: 29.12 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.3662, allocations: 187.5 kB / 0.5715 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3663, allocations: 109 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3663, allocations: 106.1 kB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.3664, allocations: 184.1 kB / 0.5719 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.972e-05/0.3664, allocations: 182.1 kB / 0.5721 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/0.3664, allocations: 178.5 kB / 0.5722 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3667, allocations: 407.9 kB / 0.5726 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.3667, allocations: 107.1 kB / 0.5727 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.3667, allocations: 104.1 kB / 0.5728 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.623e-05/0.3668, allocations: 182.3 kB / 0.573 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.3668, allocations: 178.5 kB / 0.5732 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/0.3668, allocations: 182.7 kB / 0.5733 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-05/0.3669, allocations: 179.9 kB / 0.5735 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.3669, allocations: 318.4 kB / 0.5738 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.367, allocations: 180.6 kB / 0.574 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.367, allocations: 184.2 kB / 0.5742 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.3671, allocations: 110.6 kB / 0.5743 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3671, allocations: 186.7 kB / 0.5745 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3671, allocations: 105.8 kB / 0.5746 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.3672, allocations: 80.39 kB / 0.5746 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3672, allocations: 0 / 0.5746 GB, free: 25.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3675, allocations: 20.67 kB / 0.5747 GB, free: 25.59 MB / 446.1 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 (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.0005173/0.368, allocations: 0.8685 MB / 0.5755 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.3681, allocations: 7.125 kB / 0.5755 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3681, allocations: 1.094 kB / 0.5755 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.3681, allocations: 2.047 kB / 0.5755 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3684, allocations: 454.7 kB / 0.5759 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.3689, allocations: 239.2 kB / 0.5762 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.233e-05/0.369, allocations: 0.6712 MB / 0.5768 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.352e-05/0.369, allocations: 3.781 kB / 0.5768 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.369, allocations: 9.234 kB / 0.5768 GB, free: 23.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.369, allocations: 1.719 kB / 0.5768 GB, free: 23.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.3874, allocations: 1.523 MB / 0.5783 GB, free: 23.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.802, allocations: 17.92 kB / 0.5783 GB, free: 23.03 MB / 446.1 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/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)