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.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_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.0008446/0.0008446, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006115/0.006115, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.9 MB / 0.6664 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.000496, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6838, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.001109/0.6849, allocations: 1.06 MB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.6859, allocations: 0.7586 MB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.6859, allocations: 0 / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.6859, allocations: 1.219 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.686, allocations: 3.984 kB / 0.957 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.6863, allocations: 111.8 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.549e-05/0.6864, allocations: 11.56 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.6864, allocations: 2.312 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.6865, allocations: 18.94 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.6865, allocations: 7.453 kB / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.6865, allocations: 0 / 0.9571 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.6868, allocations: 186.8 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.6868, allocations: 3.938 kB / 0.9573 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.6869, allocations: 29.11 kB / 0.9574 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.6871, allocations: 129.6 kB / 0.9575 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6871, allocations: 1.281 kB / 0.9575 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6871, allocations: 0 / 0.9575 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.6871, allocations: 0 / 0.9575 GB, free: 5.934 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002309/0.6873, allocations: 354.5 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6874, allocations: 9.75 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.417e-05/0.6874, allocations: 32.03 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.705e-05/0.6874, allocations: 2.25 kB / 0.9579 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.6875, allocations: 165.8 kB / 0.958 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.6875, allocations: 384 / 0.958 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.6875, allocations: 5.469 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.6876, allocations: 45.41 kB / 0.9581 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.6876, allocations: 4 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.6876, allocations: 1.156 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6876, allocations: 0 / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.6876, allocations: 4.5 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.971e-05/0.6877, allocations: 153.9 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.6878, allocations: 19.92 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.6878, allocations: 13.11 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/0.6882, allocations: 129.8 kB / 0.9584 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.6883, allocations: 39.75 kB / 0.9584 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6883, allocations: 0 / 0.9584 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001105/0.6884, allocations: 40.33 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.6884, allocations: 56.81 kB / 0.9585 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.6885, allocations: 108 kB / 0.9586 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.6885, allocations: 25.7 kB / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.534e-05/0.6885, allocations: 85.52 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.6885, allocations: 5.125 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.6885, allocations: 9.719 kB / 0.9587 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.516e-05/0.6886, allocations: 315.9 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.6886, allocations: 6.062 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.6886, allocations: 2.312 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.6886, allocations: 18.98 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6886, allocations: 0 / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.065e-05/0.6887, allocations: 43.86 kB / 0.9591 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.6887, allocations: 8.609 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.6887, allocations: 1.219 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.6887, allocations: 0 / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.629e-05/0.6888, allocations: 3.5 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.6888, allocations: 0 / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.6888, allocations: 1.344 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.6888, allocations: 5.031 kB / 0.9591 GB, free: 4.133 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 (2): * Single equations (assignments): 2 * 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 3.897e-05/0.6889, allocations: 107.1 kB / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.6889, allocations: 9.281 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.689, allocations: 55.34 kB / 0.9593 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.689, allocations: 3.938 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.689, allocations: 1.469 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.689, allocations: 0 / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.186e-05/0.689, allocations: 158.1 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.689, allocations: 32 / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.6891, allocations: 11.97 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.6891, allocations: 0 / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.6891, allocations: 1.5 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.6891, allocations: 0 / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6891, allocations: 0 / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.391e-05/0.6891, allocations: 68.38 kB / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.6892, allocations: 81.05 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.6892, allocations: 5.375 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-06/0.6892, allocations: 3.984 kB / 0.9596 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.6892, allocations: 9.797 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.6892, allocations: 1.875 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.837e-05/0.6892, allocations: 83.22 kB / 0.9597 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6892, allocations: 0 / 0.9597 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002197/0.6895, allocations: 40.8 kB / 0.9597 GB, free: 3.473 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 (2): * Single equations (assignments): 2 * 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.0003653/0.6898, allocations: 0.6735 MB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.539e-05/0.6899, allocations: 12.09 kB / 0.9604 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6899, allocations: 0 / 0.9604 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.6899, allocations: 8.25 kB / 0.9604 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.6901, allocations: 10.84 kB / 0.9604 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.6904, allocations: 154.3 kB / 0.9606 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.6905, allocations: 0.6731 MB / 0.9612 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.6905, allocations: 8.109 kB / 0.9612 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.6905, allocations: 14.44 kB / 0.9612 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6905, allocations: 0 / 0.9612 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.7011, allocations: 2.017 MB / 0.9632 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.7013, allocations: 298.7 kB / 0.9635 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.383, allocations: 7.891 kB / 0.9635 GB, free: 0.6523 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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.FiniteLineSource_Integrand_res.mat does not exist to compare? outputFormat=mat