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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 175.8 MB / 478.4 MB, free: 8.461 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.91 kB / 0.6653 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1892, allocations: 94.54 MB / 0.7576 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001894/0.1911, allocations: 0.5685 MB / 0.7581 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1925, allocations: 1.007 MB / 0.7591 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.1925, allocations: 0 / 0.7591 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1925, allocations: 0 / 0.7591 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.1932, allocations: 99.78 kB / 0.7592 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.201e-05/0.1933, allocations: 15.92 kB / 0.7592 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.1933, allocations: 4 kB / 0.7592 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.1934, allocations: 0 / 0.7592 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.1934, allocations: 4 kB / 0.7592 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1936, allocations: 39.84 kB / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1936, allocations: 0 / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1938, allocations: 87.84 kB / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.1938, allocations: 0 / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.1939, allocations: 4 kB / 0.7594 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3734/0.5673, allocations: 75.95 kB / 0.7594 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5673, allocations: 0 / 0.7594 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5673, allocations: 0 / 0.7594 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5673, allocations: 0.5312 kB / 0.7594 GB, free: 8.098 MB / 0.5762 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.0002865/0.5676, allocations: 333.8 kB / 0.7597 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5676, allocations: 10.14 kB / 0.7598 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.5676, allocations: 31.84 kB / 0.7598 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.5677, allocations: 5.547 kB / 0.7598 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.5677, allocations: 164.1 kB / 0.7599 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5677, allocations: 1.812 kB / 0.76 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.5678, allocations: 4.688 kB / 0.76 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.5678, allocations: 32.42 kB / 0.76 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5678, allocations: 1.281 kB / 0.76 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.5678, allocations: 0.5625 kB / 0.76 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5678, allocations: 0 / 0.76 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.5679, allocations: 3.703 kB / 0.76 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.5682, allocations: 467.8 kB / 0.7604 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.5682, allocations: 170.2 kB / 0.7606 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.5682, allocations: 84.52 kB / 0.7607 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.5682, allocations: 76.5 kB / 0.7608 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.5683, allocations: 112.4 kB / 0.7609 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5683, allocations: 0 / 0.7609 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.793e-05/0.5683, allocations: 27.45 kB / 0.7609 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5684, allocations: 133.2 kB / 0.761 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.5684, allocations: 103.8 kB / 0.7611 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.5684, allocations: 25.7 kB / 0.7611 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.5684, allocations: 83.38 kB / 0.7612 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.5685, allocations: 0 / 0.7612 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5685, allocations: 16.45 kB / 0.7612 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.5685, allocations: 316.8 kB / 0.7615 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.5685, allocations: 1.859 kB / 0.7615 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.5685, allocations: 2.531 kB / 0.7615 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.5686, allocations: 8.297 kB / 0.7615 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5686, allocations: 0 / 0.7615 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.42e-05/0.5687, allocations: 44.92 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5687, allocations: 6.688 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5687, allocations: 0 / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5687, allocations: 0.6875 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.5687, allocations: 1.234 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5687, allocations: 2.484 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.5687, allocations: 2.375 kB / 0.7616 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.5687, allocations: 0.9375 kB / 0.7616 GB, free: 5.77 MB / 0.5762 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 4.66e-05/0.5688, allocations: 188.1 kB / 0.7618 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.5688, allocations: 105.5 kB / 0.7619 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.5688, allocations: 113.6 kB / 0.762 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.5689, allocations: 178.2 kB / 0.7622 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/0.5689, allocations: 187 kB / 0.7623 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.5689, allocations: 179.5 kB / 0.7625 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5692, allocations: 412.8 kB / 0.7629 GB, free: 20.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.362e-05/0.5693, allocations: 103.4 kB / 0.763 GB, free: 20.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.5693, allocations: 107.6 kB / 0.7631 GB, free: 20.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.273e-05/0.5694, allocations: 177.8 kB / 0.7633 GB, free: 19.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.5695, allocations: 187 kB / 0.7635 GB, free: 19.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.398e-05/0.5696, allocations: 181.6 kB / 0.7636 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.323e-05/0.5697, allocations: 181.9 kB / 0.7638 GB, free: 19.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.5698, allocations: 309.7 kB / 0.7641 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.5699, allocations: 180.4 kB / 0.7643 GB, free: 18.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.57, allocations: 185 kB / 0.7644 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.5701, allocations: 103.8 kB / 0.7645 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.5702, allocations: 185.9 kB / 0.7647 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.5702, allocations: 104.4 kB / 0.7648 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.5703, allocations: 83.89 kB / 0.7649 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5703, allocations: 0 / 0.7649 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000325/0.5706, allocations: 24.78 kB / 0.7649 GB, free: 18.28 MB / 0.5919 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.0007081/0.5713, allocations: 0.8649 MB / 0.7658 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.149e-05/0.5714, allocations: 6.625 kB / 0.7658 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5714, allocations: 0 / 0.7658 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.5714, allocations: 0.625 kB / 0.7658 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.5718, allocations: 465.2 kB / 0.7662 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5723, allocations: 243.2 kB / 0.7665 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.5726, allocations: 0.6721 MB / 0.7671 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.5726, allocations: 7.109 kB / 0.7671 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.5727, allocations: 13.14 kB / 0.7671 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.5727, allocations: 2.844 kB / 0.7671 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.6, allocations: 1.582 MB / 0.7687 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.918, allocations: 1.859 kB / 0.7687 GB, free: 15.71 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.640933015849441] Failed to read output from testmodel.py, exit status != 0: 8.988139120861888 9.006666244 8.435749985 Calling exit ...