Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006219/0.006219, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001042/0.001042, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 289 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9145/0.9145, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 99.86 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3854, allocations: 86.97 MB / 0.7664 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001513/0.387, allocations: 0.5695 MB / 0.767 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3888, allocations: 1.605 MB / 0.7686 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.3889, allocations: 0 / 0.7686 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.3889, allocations: 7.922 kB / 0.7686 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.389, allocations: 0 / 0.7686 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.3896, allocations: 199.4 kB / 0.7688 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.3897, allocations: 23.98 kB / 0.7688 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.3897, allocations: 0 / 0.7688 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.3897, allocations: 7.938 kB / 0.7688 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.3898, allocations: 15.97 kB / 0.7688 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3898, allocations: 0 / 0.7688 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.3902, allocations: 275.5 kB / 0.7691 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.3903, allocations: 8 kB / 0.7691 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.3903, allocations: 11.92 kB / 0.7691 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3906, allocations: 167.6 kB / 0.7693 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3906, allocations: 0 / 0.7693 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3906, allocations: 3.938 kB / 0.7693 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3906, allocations: 4 kB / 0.7693 GB, free: 1.035 MB / 0.5294 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.0003733/0.391, allocations: 367 kB / 0.7696 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.391, allocations: 12.03 kB / 0.7696 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.3918, allocations: 76.77 kB / 0.7697 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3919, allocations: 160.4 kB / 0.7698 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.392, allocations: 4.375 kB / 0.7699 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.392, allocations: 384 / 0.7699 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3921, allocations: 89.84 kB / 0.7699 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3922, allocations: 0 / 0.7699 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3922, allocations: 4 kB / 0.7699 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3922, allocations: 0 / 0.7699 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.3924, allocations: 83.88 kB / 0.77 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3926, allocations: 180.4 kB / 0.7702 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3928, allocations: 82.52 kB / 0.7703 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.3928, allocations: 40.94 kB / 0.7703 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3928, allocations: 4 kB / 0.7703 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3929, allocations: 38.44 kB / 0.7704 GB, free: 15.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.031e-06/0.3929, allocations: 0 / 0.7704 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003257/0.3932, allocations: 145.5 kB / 0.7705 GB, free: 15.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3933, allocations: 55.41 kB / 0.7705 GB, free: 15.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.3933, allocations: 101.9 kB / 0.7706 GB, free: 15.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3934, allocations: 25.7 kB / 0.7707 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.3934, allocations: 88.12 kB / 0.7707 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3934, allocations: 15.8 kB / 0.7708 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3935, allocations: 29.62 kB / 0.7708 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3936, allocations: 314.8 kB / 0.7711 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.3937, allocations: 39.91 kB / 0.7711 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.3937, allocations: 32.47 kB / 0.7712 GB, free: 14.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3939, allocations: 80.86 kB / 0.7712 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3939, allocations: 0 / 0.7712 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002014/0.3941, allocations: 109.6 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3941, allocations: 11.94 kB / 0.7714 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3941, allocations: 0 / 0.7714 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3942, allocations: 0 / 0.7714 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3944, allocations: 19.97 kB / 0.7714 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3944, allocations: 0 / 0.7714 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3945, allocations: 19.84 kB / 0.7714 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3945, allocations: 3.984 kB / 0.7714 GB, free: 14.63 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 (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 8.665e-05/0.3946, allocations: 113.8 kB / 0.7715 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.3946, allocations: 3.938 kB / 0.7715 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.395, allocations: 216.4 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3951, allocations: 4 kB / 0.7717 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3951, allocations: 4 kB / 0.7717 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3951, allocations: 3.984 kB / 0.7717 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3953, allocations: 213.5 kB / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3953, allocations: 0 / 0.7719 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3955, allocations: 31.92 kB / 0.772 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3955, allocations: 3.938 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3955, allocations: 4 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3955, allocations: 0 / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3955, allocations: 0 / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3958, allocations: 188.9 kB / 0.7721 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3958, allocations: 100.9 kB / 0.7722 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3958, allocations: 0 / 0.7722 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.3959, allocations: 8 kB / 0.7723 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.396, allocations: 11.97 kB / 0.7723 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.396, allocations: 12 kB / 0.7723 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.396, allocations: 83.28 kB / 0.7724 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 0.7724 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002796/0.3963, allocations: 67.98 kB / 0.7724 GB, free: 13.48 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 (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.0003262/0.3967, allocations: 187.1 kB / 0.7726 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3969, allocations: 99.92 kB / 0.7727 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3969, allocations: 0 / 0.7727 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.397, allocations: 83.89 kB / 0.7728 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3972, allocations: 4 kB / 0.7728 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.3976, allocations: 216.7 kB / 0.773 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3978, allocations: 0.6936 MB / 0.7737 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.459e-05/0.3979, allocations: 27.91 kB / 0.7737 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.398, allocations: 19.36 kB / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.398, allocations: 0 / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of Templates: time 0.004755/0.4027, allocations: 2.439 MB / 0.7761 GB, free: 9.723 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)