Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.731/0.731, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 183 kB / 164.7 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008106/0.0008107, allocations: 89.8 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.217e-05, allocations: 5.281 kB / 0.5467 GB, free: 95.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1565, allocations: 76.77 MB / 0.6217 GB, free: 42.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.292, allocations: 103.9 MB / 0.7231 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.2923, allocations: 115.9 kB / 0.7232 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01407/0.3064, allocations: 4.796 MB / 0.7279 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3064, allocations: 0 / 0.7279 GB, free: 14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.3064, allocations: 0 / 0.7279 GB, free: 14 MB / 0.5105 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.0004041/0.3069, allocations: 382.3 kB / 0.7283 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3069, allocations: 8.031 kB / 0.7283 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.3075, allocations: 71.8 kB / 0.7284 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3077, allocations: 167 kB / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3077, allocations: 0 / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3077, allocations: 4 kB / 0.7285 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001824/0.3079, allocations: 75.89 kB / 0.7286 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.308, allocations: 81.59 kB / 0.7287 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.308, allocations: 0 / 0.7287 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3081, allocations: 3.984 kB / 0.7287 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3081, allocations: 4 kB / 0.7287 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.3083, allocations: 166.2 kB / 0.7288 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3084, allocations: 90.41 kB / 0.7289 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.3085, allocations: 36.95 kB / 0.729 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.3085, allocations: 0 / 0.729 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3086, allocations: 34.56 kB / 0.729 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3086, allocations: 0 / 0.729 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0004856/0.3091, allocations: 109.5 kB / 0.7291 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3091, allocations: 55.41 kB / 0.7292 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.3092, allocations: 97 kB / 0.7293 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3092, allocations: 25.7 kB / 0.7293 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.3093, allocations: 80.14 kB / 0.7294 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3093, allocations: 19.73 kB / 0.7294 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.3093, allocations: 0 / 0.7294 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.3094, allocations: 322.7 kB / 0.7297 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.3095, allocations: 31.97 kB / 0.7297 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.3095, allocations: 27.98 kB / 0.7297 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.3098, allocations: 39.95 kB / 0.7298 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3098, allocations: 0 / 0.7298 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003982/0.3102, allocations: 109.6 kB / 0.7299 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3102, allocations: 4 kB / 0.7299 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3103, allocations: 0 / 0.7299 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3103, allocations: 0 / 0.7299 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.3105, allocations: 19.97 kB / 0.7299 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3105, allocations: 4 kB / 0.7299 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3106, allocations: 15.94 kB / 0.7299 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3107, allocations: 3.984 kB / 0.7299 GB, free: 11.76 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.3108, allocations: 112.9 kB / 0.73 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003978/0.3112, allocations: 110 kB / 0.7301 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.3112, allocations: 4 kB / 0.7301 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.3116, allocations: 201.6 kB / 0.7303 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3117, allocations: 0 / 0.7303 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3117, allocations: 0 / 0.7303 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3117, allocations: 11.94 kB / 0.7303 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3118, allocations: 178.2 kB / 0.7305 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3118, allocations: 3.984 kB / 0.7305 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.312, allocations: 27.94 kB / 0.7305 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.312, allocations: 3.984 kB / 0.7305 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.312, allocations: 4 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3121, allocations: 4 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3121, allocations: 0 / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3124, allocations: 176.9 kB / 0.7307 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3124, allocations: 89.05 kB / 0.7308 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3125, allocations: 0 / 0.7308 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.3126, allocations: 11.88 kB / 0.7308 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.3126, allocations: 11.92 kB / 0.7308 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3126, allocations: 7.984 kB / 0.7308 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.3127, allocations: 83.28 kB / 0.7309 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3127, allocations: 4 kB / 0.7309 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004248/0.3131, allocations: 91.81 kB / 0.731 GB, free: 10.55 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.3142, allocations: 0.8291 MB / 0.7318 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3144, allocations: 91.94 kB / 0.7319 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3144, allocations: 0 / 0.7319 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3145, allocations: 71.92 kB / 0.732 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3147, allocations: 3.984 kB / 0.732 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.3153, allocations: 233.4 kB / 0.7322 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3156, allocations: 0.6963 MB / 0.7329 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.3157, allocations: 23.97 kB / 0.7329 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.3158, allocations: 27.42 kB / 0.7329 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.3158, allocations: 0 / 0.7329 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.3369, allocations: 2.999 MB / 0.7359 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.3372, allocations: 246.5 kB / 0.7361 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.816, allocations: 0 / 0.7361 GB, free: 5.246 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe 2>&1)