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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007365/0.0007365, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007906/0.0007906, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9255/0.9255, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.832/0.832, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009404/0.0009404, allocations: 66.67 kB / 0.7182 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5126, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001286/0.5139, allocations: 0.5869 MB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.5149, allocations: 1.006 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.5149, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.5149, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.5155, allocations: 95.55 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.944e-05/0.5155, allocations: 12.05 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.607e-05/0.5155, allocations: 11.94 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.5156, allocations: 3.641 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.5156, allocations: 0 / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.5158, allocations: 37.02 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.5158, allocations: 0 / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.516, allocations: 80.89 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.516, allocations: 0 / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.516, allocations: 3.156 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.5161, allocations: 69.53 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5161, allocations: 1.812 kB / 0.8197 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5161, allocations: 3.938 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5161, allocations: 0 / 0.8197 GB, free: 15.81 MB / 0.6198 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.0002585/0.5164, allocations: 265.6 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5164, allocations: 8.469 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.5165, allocations: 36.28 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.5165, allocations: 0.9375 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.5166, allocations: 110.5 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.5166, allocations: 3.719 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.5166, allocations: 384 / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.5166, allocations: 35.19 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.5167, allocations: 3.094 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5167, allocations: 0 / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5167, allocations: 0 / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.5167, allocations: 0.9844 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.5171, allocations: 364 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.5172, allocations: 169.8 kB / 0.8207 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.5172, allocations: 81.77 kB / 0.8207 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.5172, allocations: 79.22 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.5172, allocations: 114.5 kB / 0.8209 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.5172, allocations: 0 / 0.8209 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.788e-05/0.5173, allocations: 34.23 kB / 0.821 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.5173, allocations: 127.5 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.5174, allocations: 102 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.5174, allocations: 25.7 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.5174, allocations: 88.44 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.5174, allocations: 4 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.5175, allocations: 10.38 kB / 0.8213 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.5175, allocations: 320.1 kB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.5175, allocations: 0 / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.5176, allocations: 4 kB / 0.8216 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.5176, allocations: 13.2 kB / 0.8216 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5176, allocations: 0.5156 kB / 0.8216 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.414e-05/0.5177, allocations: 36.62 kB / 0.8217 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5177, allocations: 6.156 kB / 0.8217 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5177, allocations: 8.5 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5177, allocations: 2.656 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.752e-05/0.5177, allocations: 0.8438 kB / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5177, allocations: 0 / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.5177, allocations: 0 / 0.8217 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.5178, allocations: 1.281 kB / 0.8217 GB, free: 13.7 MB / 0.6198 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.5178, allocations: 187.4 kB / 0.8219 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.5179, allocations: 106.2 kB / 0.822 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.5179, allocations: 120.5 kB / 0.8221 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/0.5179, allocations: 177 kB / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.518, allocations: 188.6 kB / 0.8224 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.714e-05/0.518, allocations: 177 kB / 0.8226 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.5181, allocations: 378 kB / 0.8229 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.5182, allocations: 105.7 kB / 0.823 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.5182, allocations: 109.2 kB / 0.8232 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.673e-05/0.5182, allocations: 181 kB / 0.8233 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.5183, allocations: 179 kB / 0.8235 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-05/0.5183, allocations: 177 kB / 0.8237 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.03e-05/0.5183, allocations: 182.9 kB / 0.8238 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.952e-05/0.5184, allocations: 313.7 kB / 0.8241 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.5185, allocations: 112 kB / 0.8242 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.5185, allocations: 183.3 kB / 0.8244 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.5186, allocations: 106.8 kB / 0.8245 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.5186, allocations: 178.7 kB / 0.8247 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.5186, allocations: 106.2 kB / 0.8248 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.5187, allocations: 81.02 kB / 0.8249 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5187, allocations: 0 / 0.8249 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001858/0.5189, allocations: 25.02 kB / 0.8249 GB, free: 10.27 MB / 0.6198 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 (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.0005706/0.5194, allocations: 0.8639 MB / 0.8257 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.5195, allocations: 6.359 kB / 0.8257 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5195, allocations: 0 / 0.8257 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.5195, allocations: 2.25 kB / 0.8257 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.5197, allocations: 461.8 kB / 0.8262 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.5204, allocations: 241.7 kB / 0.8264 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.5204, allocations: 56.58 kB / 0.8265 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.5205, allocations: 10.64 kB / 0.8265 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.5205, allocations: 10.5 kB / 0.8265 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.5205, allocations: 0 / 0.8265 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.5388, allocations: 2.041 MB / 0.8285 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/7.007, allocations: 5 kB / 0.8285 GB, free: 7.762 MB / 0.6198 GB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.925105878151953] Failed to read output from testmodel.py, exit status != 0: 7.0874918811023235 7.097173165 6.579118137 Calling exit ...