Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.001518/0.001518, 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.001877/0.001877, allocations: 191.2 kB / 16.25 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.459/2.459, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.88 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7181, allocations: 140.4 MB / 0.9493 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002473/0.7206, allocations: 1.411 MB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.7217, allocations: 0.7899 MB / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.7218, allocations: 0 / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.7218, allocations: 0 / 0.9514 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.7219, allocations: 13.28 kB / 0.9514 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.7224, allocations: 158.9 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.7225, allocations: 47.52 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.7226, allocations: 6.734 kB / 0.9516 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.7226, allocations: 22.17 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.7227, allocations: 36.56 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.7227, allocations: 3.031 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.723, allocations: 182.7 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.7231, allocations: 10.77 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.7231, allocations: 18.33 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.7234, allocations: 148.5 kB / 0.9521 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7234, allocations: 3.938 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7234, allocations: 0 / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7234, allocations: 1.188 kB / 0.9521 GB, free: 7.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004023/0.7238, allocations: 371.2 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7239, allocations: 10.5 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.7239, allocations: 32.06 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.7239, allocations: 6.531 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.724, allocations: 179.5 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.724, allocations: 384 / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.724, allocations: 2.094 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.7242, allocations: 55.61 kB / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.7242, allocations: 1.469 kB / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7242, allocations: 4 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7242, allocations: 1.031 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.7244, allocations: 48.83 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.7245, allocations: 168.8 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.7246, allocations: 48.47 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.7247, allocations: 24.3 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.7247, allocations: 13.39 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7248, allocations: 39.75 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.7248, allocations: 0 / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002446/0.725, allocations: 86.95 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.725, allocations: 56.59 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.7251, allocations: 110.4 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.7251, allocations: 29.7 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.7252, allocations: 81.64 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.7252, allocations: 22.86 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.7252, allocations: 24.62 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.7253, allocations: 317.4 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.7254, allocations: 11.19 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.7254, allocations: 8.969 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.7255, allocations: 36.97 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7255, allocations: 0 / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000134/0.7256, allocations: 80.31 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7256, allocations: 5.375 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7257, allocations: 8.047 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7257, allocations: 4 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.7258, allocations: 12 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7258, allocations: 0 / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.7258, allocations: 1.438 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.7259, allocations: 10.36 kB / 0.9539 GB, free: 5.207 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 (6): * Single equations (assignments): 6 * 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.168e-05/0.7259, allocations: 107.9 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.7259, allocations: 6.906 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.7263, allocations: 204.6 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7264, allocations: 2.688 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.7264, allocations: 0 / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7264, allocations: 7.984 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.7265, allocations: 199.4 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7265, allocations: 3.938 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.7266, allocations: 27.89 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7266, allocations: 1.406 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7266, allocations: 7.156 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7266, allocations: 3.938 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.7266, allocations: 0 / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.7268, allocations: 149.4 kB / 0.9546 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.7269, allocations: 87.77 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.7269, allocations: 5.469 kB / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.7269, allocations: 5.094 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.727, allocations: 13.7 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.727, allocations: 4.812 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.727, allocations: 88.27 kB / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.727, allocations: 0 / 0.9548 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002673/0.7273, allocations: 50.47 kB / 0.9548 GB, free: 4.426 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.0005266/0.7278, allocations: 0.751 MB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.728, allocations: 62.34 kB / 0.9556 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.728, allocations: 0 / 0.9556 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.7281, allocations: 47.83 kB / 0.9557 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.7283, allocations: 24.64 kB / 0.9557 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.7288, allocations: 267.6 kB / 0.9559 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.7289, allocations: 0.6948 MB / 0.9566 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.729, allocations: 29.28 kB / 0.9566 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.7291, allocations: 29.7 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7291, allocations: 1.188 kB / 0.9567 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.7418, allocations: 3.178 MB / 0.9598 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.7419, allocations: 305.4 kB / 0.9601 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.532, allocations: 0.6562 kB / 0.9601 GB, free: 0.8633 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.mat does not exist to compare? outputFormat=mat