Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_10_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_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.009763/0.009762, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 12 kB / 0.873 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6501, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.0007783/0.6509, allocations: 316.6 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.6529, allocations: 1.619 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.6529, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.6529, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.653, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.6535, allocations: 167.3 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.6535, allocations: 15.98 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.6536, allocations: 4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.6536, allocations: 0 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.6537, allocations: 15.97 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.6537, allocations: 7.938 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.6542, allocations: 299.4 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.6542, allocations: 15.92 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.6543, allocations: 37.64 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.6545, allocations: 167.6 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6545, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6545, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6546, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 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.0003499/0.6549, allocations: 357.8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.655, allocations: 15.98 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.655, allocations: 38.73 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.6558, allocations: 76.77 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.6559, allocations: 168.3 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.6559, allocations: 384 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6559, allocations: 8.375 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.6561, allocations: 85.72 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6561, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6561, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6562, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.6564, allocations: 79.88 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.6566, allocations: 189.5 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.6567, allocations: 82.45 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.6568, allocations: 40.95 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.6568, allocations: 11.97 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.6568, allocations: 34.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.6569, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003107/0.6572, allocations: 137.5 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.6572, allocations: 59.34 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.6573, allocations: 105.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6573, allocations: 25.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.6574, allocations: 80.14 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.6574, allocations: 23.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.6574, allocations: 9.719 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.6575, allocations: 314.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.6576, allocations: 27.97 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.6577, allocations: 35.95 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.6578, allocations: 73.44 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6578, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.658, allocations: 121.5 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.658, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.658, allocations: 7.984 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.6581, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.6582, allocations: 23.91 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6582, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.6584, allocations: 11.91 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6584, allocations: 7.984 kB / 1.028 GB, free: 10.7 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.6585, allocations: 106.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.6585, allocations: 7.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.6589, allocations: 223.1 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6589, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6589, allocations: 7.922 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6589, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.6591, allocations: 213.5 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6591, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.6592, allocations: 27.92 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.6593, allocations: 8 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6593, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6593, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6593, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.6595, allocations: 200.8 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.6596, allocations: 88.95 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6596, allocations: 0 / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.6597, allocations: 8 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.6597, allocations: 15.98 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6597, allocations: 0 / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.6598, allocations: 91.27 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6598, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002716/0.6601, allocations: 64 kB / 1.029 GB, free: 9.562 MB / 0.7794 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 (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.0007595/0.6608, allocations: 0.8129 MB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.6611, allocations: 103.9 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6611, allocations: 0 / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6612, allocations: 75.91 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.6613, allocations: 4 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.6619, allocations: 297.7 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6622, allocations: 0.6926 MB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.6623, allocations: 28.28 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.6623, allocations: 27.42 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6624, allocations: 0 / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.676, allocations: 3.365 MB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.6763, allocations: 302.7 kB / 1.034 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.433, allocations: 5.969 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.mat does not exist to compare? outputFormat=mat