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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001594/0.001594, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5945, allocations: 140.4 MB / 0.9493 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001697/0.5963, allocations: 0.6272 MB / 0.9499 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.5983, allocations: 1.595 MB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.5983, allocations: 0 / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.5984, allocations: 1.5 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.5984, allocations: 0 / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.5992, allocations: 175.8 kB / 0.9516 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.5992, allocations: 33.67 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.5993, allocations: 1.375 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.5993, allocations: 8.438 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.5994, allocations: 7.922 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5994, allocations: 1.312 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.5999, allocations: 293.2 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.5999, allocations: 15.89 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.5999, allocations: 10.67 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.6003, allocations: 180.1 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6003, allocations: 0 / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6003, allocations: 1.125 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.6003, allocations: 4 kB / 0.9521 GB, free: 6.941 MB / 0.7169 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.0002814/0.6006, allocations: 369.9 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6006, allocations: 10.47 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.6007, allocations: 32.16 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.6015, allocations: 77.33 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.6016, allocations: 162 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.6016, allocations: 1.938 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.6016, allocations: 2.031 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.6018, allocations: 92.31 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6018, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.6018, allocations: 4 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.6018, allocations: 1.5 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.6021, allocations: 81 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.6022, allocations: 191.5 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.6024, allocations: 82.95 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.6025, allocations: 45.69 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.6025, allocations: 1.469 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6025, allocations: 40.06 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.6025, allocations: 0 / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003385/0.6029, allocations: 144 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.6029, allocations: 52.5 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.603, allocations: 101.6 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.603, allocations: 25.7 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.603, allocations: 89.75 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.603, allocations: 9.5 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.6031, allocations: 27.91 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.6032, allocations: 312.2 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.6032, allocations: 35.75 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.6033, allocations: 35.41 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.6034, allocations: 76.36 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.6034, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.6036, allocations: 118.4 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6037, allocations: 4.656 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6037, allocations: 1.188 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6037, allocations: 0 / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.6039, allocations: 18.81 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6039, allocations: 8 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.604, allocations: 3.688 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.604, allocations: 14.58 kB / 0.9543 GB, free: 4.891 MB / 0.7169 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 6.446e-05/0.6041, allocations: 112.3 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.6041, allocations: 6.406 kB / 0.9544 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.6045, allocations: 215.4 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6045, allocations: 2.031 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6045, allocations: 1.469 kB / 0.9546 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6045, allocations: 3.984 kB / 0.9546 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.6047, allocations: 208 kB / 0.9548 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6047, allocations: 3.938 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.6049, allocations: 37.92 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6049, allocations: 1.219 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6049, allocations: 1.188 kB / 0.9549 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6049, allocations: 3.984 kB / 0.9549 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6049, allocations: 5.531 kB / 0.9549 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.6051, allocations: 187.8 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.6052, allocations: 91.41 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.6052, allocations: 5.25 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.6053, allocations: 6.531 kB / 0.9552 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.6053, allocations: 12.81 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.6053, allocations: 2.781 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.6054, allocations: 96.66 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6054, allocations: 0 / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003073/0.6057, allocations: 64.33 kB / 0.9553 GB, free: 4.02 MB / 0.7169 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.0007473/0.6064, allocations: 0.8118 MB / 0.9561 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.6067, allocations: 119.9 kB / 0.9562 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6067, allocations: 0 / 0.9562 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.6068, allocations: 77.91 kB / 0.9563 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.6069, allocations: 7.953 kB / 0.9563 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.6075, allocations: 289.4 kB / 0.9566 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6076, allocations: 0.6982 MB / 0.9573 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.628e-05/0.6077, allocations: 31.16 kB / 0.9573 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.6078, allocations: 34.03 kB / 0.9574 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.6078, allocations: 0 / 0.9574 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.6234, allocations: 3.535 MB / 0.9608 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.6236, allocations: 301.4 kB / 0.9611 GB, free: 160 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.562, allocations: 3.656 kB / 0.9611 GB, free: 160 kB / 0.7169 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/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