Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB 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: 183.3 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.1 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008768, allocations: 102.7 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 14.09 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.3723, allocations: 151.1 MB / 1.371 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.3726, allocations: 99.92 kB / 1.371 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.386, allocations: 4.613 MB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.386, allocations: 0 / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3861, allocations: 0 / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003336/0.3864, allocations: 391.6 kB / 1.375 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3864, allocations: 8.031 kB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.3865, allocations: 34.5 kB / 1.376 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006059/0.3871, allocations: 67.92 kB / 1.376 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.3872, allocations: 170.9 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3872, allocations: 0 / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3872, allocations: 4 kB / 1.376 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3874, allocations: 77.59 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3874, allocations: 0 / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3874, allocations: 8 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3874, allocations: 0 / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3876, allocations: 83.88 kB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3878, allocations: 189.5 kB / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3879, allocations: 82.52 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.388, allocations: 0 / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.388, allocations: 34.56 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.388, allocations: 4 kB / 1.376 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0002941/0.3883, allocations: 141.6 kB / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.3883, allocations: 55.41 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.3884, allocations: 97.23 kB / 1.377 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3884, allocations: 25.7 kB / 1.377 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.3885, allocations: 84.14 kB / 1.377 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3885, allocations: 15.72 kB / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.3885, allocations: 0 / 1.377 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.3886, allocations: 322.8 kB / 1.377 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.3887, allocations: 31.97 kB / 1.377 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.913e-05/0.3887, allocations: 32.22 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.758e-05/0.3888, allocations: 44.09 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3888, allocations: 0 / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001963/0.389, allocations: 109.5 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.389, allocations: 4 kB / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.389, allocations: 0 / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.389, allocations: 0 / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3893, allocations: 27.91 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3893, allocations: 4 kB / 1.377 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3894, allocations: 8 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3894, allocations: 3.984 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 7.579e-05/0.3895, allocations: 113.8 kB / 1.377 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3895, allocations: 11.91 kB / 1.377 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.3899, allocations: 211.8 kB / 1.378 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3899, allocations: 4 kB / 1.378 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3899, allocations: 0 / 1.378 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3899, allocations: 3.984 kB / 1.378 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3901, allocations: 217.3 kB / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3901, allocations: 0 / 1.378 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3903, allocations: 31.98 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3903, allocations: 0 / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3903, allocations: 0 / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3903, allocations: 4 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3903, allocations: 8 kB / 1.378 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3906, allocations: 192.8 kB / 1.378 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.3906, allocations: 89 kB / 1.378 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3907, allocations: 4 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.3908, allocations: 0 / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3908, allocations: 15.98 kB / 1.378 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3908, allocations: 3.984 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.3909, allocations: 87.28 kB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3909, allocations: 0 / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003014/0.3912, allocations: 91.8 kB / 1.378 GB, free: 2.676 MB / 0.8698 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 (16): * Single equations (assignments): 16 * 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.0008067/0.392, allocations: 0.8501 MB / 1.379 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3922, allocations: 106.2 kB / 1.379 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3922, allocations: 0 / 1.379 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.3923, allocations: 71.91 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.836e-05/0.3924, allocations: 8 kB / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.393, allocations: 312.3 kB / 1.38 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3933, allocations: 0.6965 MB / 1.38 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.866e-05/0.3934, allocations: 28.08 kB / 1.38 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.3935, allocations: 28.11 kB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/0.3935, allocations: 3.938 kB / 1.38 GB, free: 496 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.4069, allocations: 3.248 MB / 1.383 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.4071, allocations: 261.5 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.926, allocations: 5.188 kB / 1.384 GB, free: 13.12 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat