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.001217/0.001217, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5178/0.5178, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 97 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.091e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 72.31 MB / 0.5537 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5268, allocations: 102.6 MB / 0.6538 GB, free: 7.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5272, allocations: 103.5 kB / 0.6539 GB, free: 7.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004889/0.5321, allocations: 2.132 MB / 0.656 GB, free: 5.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5321, allocations: 4.844 kB / 0.656 GB, free: 5.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5321, allocations: 0 / 0.656 GB, free: 5.566 MB / 458.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.0002447/0.5324, allocations: 326.6 kB / 0.6563 GB, free: 5.207 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5324, allocations: 8.031 kB / 0.6563 GB, free: 5.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.5324, allocations: 3.953 kB / 0.6563 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5325, allocations: 167 kB / 0.6565 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5326, allocations: 0 / 0.6565 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-06/0.5326, allocations: 0 / 0.6565 GB, free: 4.992 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.494e-05/0.5326, allocations: 4 kB / 0.6565 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.744e-05/0.5327, allocations: 41.56 kB / 0.6565 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.5327, allocations: 0 / 0.6565 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.5327, allocations: 0 / 0.6565 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.5327, allocations: 7.938 kB / 0.6566 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.5331, allocations: 443.2 kB / 0.657 GB, free: 4.449 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.5331, allocations: 169.1 kB / 0.6571 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.5332, allocations: 84.08 kB / 0.6572 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.5332, allocations: 75.28 kB / 0.6573 GB, free: 4.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.5333, allocations: 116.4 kB / 0.6574 GB, free: 3.996 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5333, allocations: 4 kB / 0.6574 GB, free: 3.992 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.875e-05/0.5333, allocations: 25.7 kB / 0.6574 GB, free: 3.961 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.5334, allocations: 55.36 kB / 0.6575 GB, free: 3.895 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.5335, allocations: 96.98 kB / 0.6576 GB, free: 3.793 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.5335, allocations: 25.7 kB / 0.6576 GB, free: 3.762 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.5335, allocations: 83.52 kB / 0.6577 GB, free: 3.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.5335, allocations: 0 / 0.6577 GB, free: 3.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.5335, allocations: 4 kB / 0.6577 GB, free: 3.676 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.5336, allocations: 310.8 kB / 0.658 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.5336, allocations: 0 / 0.658 GB, free: 3.363 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-06/0.5336, allocations: 0 / 0.658 GB, free: 3.363 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.712e-05/0.5337, allocations: 12.05 kB / 0.658 GB, free: 3.352 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5337, allocations: 0 / 0.658 GB, free: 3.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001122/0.5339, allocations: 37.64 kB / 0.658 GB, free: 3.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5339, allocations: 4 kB / 0.658 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5339, allocations: 0 / 0.658 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5339, allocations: 0 / 0.658 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.604e-05/0.5339, allocations: 4 kB / 0.658 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5339, allocations: 0 / 0.658 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.5339, allocations: 3.953 kB / 0.658 GB, free: 3.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.534, allocations: 3.984 kB / 0.658 GB, free: 3.293 MB / 458.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 () * 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.344e-05/0.534, allocations: 183.9 kB / 0.6582 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.135e-05/0.5341, allocations: 134.6 kB / 0.6583 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.5342, allocations: 101 kB / 0.6584 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.5342, allocations: 108.7 kB / 0.6585 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.43e-05/0.5343, allocations: 184.9 kB / 0.6587 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.74e-05/0.5344, allocations: 184.2 kB / 0.6589 GB, free: 2.375 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-05/0.5344, allocations: 176.3 kB / 0.6591 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.5346, allocations: 392.1 kB / 0.6594 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/0.5347, allocations: 101 kB / 0.6595 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.5347, allocations: 101 kB / 0.6596 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.066e-05/0.5348, allocations: 184 kB / 0.6598 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.5348, allocations: 184.3 kB / 0.66 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.796e-05/0.5349, allocations: 188.1 kB / 0.6602 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-05/0.535, allocations: 180.2 kB / 0.6603 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5351, allocations: 306.8 kB / 0.6606 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.5352, allocations: 190 kB / 0.6608 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.5353, allocations: 180.3 kB / 0.661 GB, free: 100 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.5353, allocations: 101 kB / 0.6611 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.5354, allocations: 181.2 kB / 0.6612 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.5355, allocations: 101.9 kB / 0.6613 GB, free: 15.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.5355, allocations: 86.45 kB / 0.6614 GB, free: 15.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5355, allocations: 0 / 0.6614 GB, free: 15.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.5358, allocations: 31.98 kB / 0.6615 GB, free: 15.59 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 () * 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.0005839/0.5364, allocations: 0.8772 MB / 0.6623 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 4.289e-05/0.5364, allocations: 7.75 kB / 0.6623 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5364, allocations: 0 / 0.6623 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.5364, allocations: 0 / 0.6623 GB, free: 14.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.5367, allocations: 0.5269 MB / 0.6628 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.5399, allocations: 1.146 MB / 0.664 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.5401, allocations: 0.6728 MB / 0.6646 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.417e-05/0.5401, allocations: 8 kB / 0.6646 GB, free: 12.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.5402, allocations: 8.375 kB / 0.6646 GB, free: 12.39 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5402, allocations: 0 / 0.6646 GB, free: 12.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.5595, allocations: 0.9969 MB / 0.6656 GB, free: 11.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/0.5598, allocations: 246.9 kB / 0.6658 GB, free: 11.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/1.998, allocations: 1.875 kB / 0.6658 GB, free: 11.14 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)