Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.004584/0.004584, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001241/0.001241, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 296.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9822/0.9822, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 87.86 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4017, allocations: 86.98 MB / 0.766 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002322/0.404, allocations: 1.292 MB / 0.7672 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4062, allocations: 1.342 MB / 0.7685 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.4062, allocations: 0 / 0.7685 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.4063, allocations: 7.938 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4064, allocations: 7.969 kB / 0.7686 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009355/0.4073, allocations: 374.5 kB / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.4075, allocations: 35.95 kB / 0.7689 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.4075, allocations: 7.938 kB / 0.769 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.4075, allocations: 19.92 kB / 0.769 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.4076, allocations: 15.98 kB / 0.769 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.4076, allocations: 4 kB / 0.769 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.4084, allocations: 0.5187 MB / 0.7695 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.4085, allocations: 19.92 kB / 0.7695 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.4085, allocations: 15.92 kB / 0.7695 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.409, allocations: 344.5 kB / 0.7699 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.409, allocations: 0 / 0.7699 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.409, allocations: 4 kB / 0.7699 GB, free: 15.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4091, allocations: 0 / 0.7699 GB, free: 15.82 MB / 0.545 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.0005341/0.4096, allocations: 422.6 kB / 0.7703 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4096, allocations: 12.03 kB / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.4097, allocations: 30.75 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.41, allocations: 32.89 kB / 0.7703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4102, allocations: 176.2 kB / 0.7705 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4102, allocations: 8.375 kB / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4102, allocations: 384 / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4104, allocations: 65.78 kB / 0.7706 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4104, allocations: 0 / 0.7706 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4104, allocations: 0 / 0.7706 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4104, allocations: 0 / 0.7706 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.4106, allocations: 63.94 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.4108, allocations: 169.7 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4109, allocations: 62.48 kB / 0.7709 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.411, allocations: 24.97 kB / 0.7709 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.4115, allocations: 212.9 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4116, allocations: 34.5 kB / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4116, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002545/0.4118, allocations: 101.5 kB / 0.7712 GB, free: 14.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4119, allocations: 59.41 kB / 0.7713 GB, free: 14.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.412, allocations: 113.8 kB / 0.7714 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.412, allocations: 25.7 kB / 0.7714 GB, free: 14.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.4121, allocations: 92.08 kB / 0.7715 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4121, allocations: 19.78 kB / 0.7715 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4122, allocations: 21.72 kB / 0.7715 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4123, allocations: 326.8 kB / 0.7718 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.4123, allocations: 15.98 kB / 0.7719 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.4124, allocations: 12 kB / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.4125, allocations: 52.83 kB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4125, allocations: 0 / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001433/0.4126, allocations: 81.61 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4127, allocations: 4 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4127, allocations: 0 / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4127, allocations: 7.938 kB / 0.772 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4128, allocations: 12.42 kB / 0.772 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4128, allocations: 0 / 0.772 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.4129, allocations: 4 kB / 0.772 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4129, allocations: 8 kB / 0.772 GB, free: 13.34 MB / 0.545 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 8.729e-05/0.413, allocations: 113.8 kB / 0.7721 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.413, allocations: 15.88 kB / 0.7722 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.4135, allocations: 281.2 kB / 0.7724 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4135, allocations: 7.938 kB / 0.7724 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4135, allocations: 0 / 0.7724 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4135, allocations: 0 / 0.7724 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.4137, allocations: 181.6 kB / 0.7726 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4137, allocations: 3.984 kB / 0.7726 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.4138, allocations: 15.94 kB / 0.7726 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4138, allocations: 4 kB / 0.7726 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4138, allocations: 0 / 0.7726 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4138, allocations: 0 / 0.7726 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4138, allocations: 0 / 0.7726 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.414, allocations: 117.2 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.4141, allocations: 88.94 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4141, allocations: 4 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.114e-05/0.4142, allocations: 0 / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4142, allocations: 15.88 kB / 0.7728 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4142, allocations: 7.984 kB / 0.7729 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.4143, allocations: 83.28 kB / 0.7729 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4143, allocations: 4 kB / 0.7729 GB, free: 12.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004176/0.4147, allocations: 111.7 kB / 0.773 GB, free: 12.21 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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.0008274/0.4155, allocations: 0.7877 MB / 0.7738 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.4157, allocations: 55.91 kB / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4157, allocations: 0 / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.4158, allocations: 27.98 kB / 0.7739 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.416, allocations: 12 kB / 0.7739 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4174, allocations: 1.398 MB / 0.7753 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4177, allocations: 0.6807 MB / 0.7759 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003611/0.4181, allocations: 265.5 kB / 0.7762 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4182, allocations: 19.44 kB / 0.7762 GB, free: 8.844 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.4182, allocations: 0 / 0.7762 GB, free: 8.844 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.4466, allocations: 4.033 MB / 0.7801 GB, free: 5.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.051, allocations: 13.19 kB / 0.7802 GB, free: 5.031 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)