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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 107.3 kB / 16.41 MB, free: 6.465 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.0019/0.0019, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.381/1.381, allocations: 222.9 MB / 241 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.002243/0.002243, allocations: 287.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9659/0.9659, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 95.84 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4606, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002818/0.4635, allocations: 1.306 MB / 0.7684 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.4659, allocations: 1.338 MB / 0.7697 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.466, allocations: 0 / 0.7697 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.466, allocations: 7.984 kB / 0.7697 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.4662, allocations: 7.938 kB / 0.7697 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4673, allocations: 366.5 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.4674, allocations: 43.89 kB / 0.7701 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.4674, allocations: 0 / 0.7701 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.4675, allocations: 23.92 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.4676, allocations: 19.97 kB / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.4676, allocations: 4 kB / 0.7701 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.4685, allocations: 0.5148 MB / 0.7706 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.4686, allocations: 19.92 kB / 0.7707 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.4687, allocations: 15.88 kB / 0.7707 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.4693, allocations: 339.4 kB / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4693, allocations: 0 / 0.771 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4693, allocations: 3.938 kB / 0.771 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.4693, allocations: 0 / 0.771 GB, free: 15.92 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.0005869/0.4699, allocations: 429.8 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.47, allocations: 8.031 kB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.4703, allocations: 32.91 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.4705, allocations: 172.3 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4705, allocations: 4.375 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.4705, allocations: 384 / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4707, allocations: 61.97 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4707, allocations: 0 / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4707, allocations: 4 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4707, allocations: 0 / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.4709, allocations: 63.94 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.4711, allocations: 177.7 kB / 0.7719 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.4712, allocations: 54.55 kB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.4713, allocations: 28.97 kB / 0.772 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/0.4718, allocations: 205 kB / 0.7722 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4719, allocations: 34.5 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4719, allocations: 0 / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0002627/0.4721, allocations: 105.6 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4722, allocations: 51.41 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.4723, allocations: 113.8 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4723, allocations: 25.7 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.4724, allocations: 88.12 kB / 0.7726 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.4724, allocations: 19.66 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4725, allocations: 17.72 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4726, allocations: 326.8 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.4727, allocations: 23.98 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.4727, allocations: 11.98 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4728, allocations: 48.84 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4728, allocations: 3.938 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001458/0.473, allocations: 81.52 kB / 0.7731 GB, free: 13.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.473, allocations: 11.94 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.473, allocations: 3.984 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.473, allocations: 0 / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4732, allocations: 11.98 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4732, allocations: 4 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.4732, allocations: 4.438 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.4732, allocations: 8 kB / 0.7731 GB, free: 13.49 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 9.699e-05/0.4733, allocations: 113.8 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.4734, allocations: 3.938 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.4739, allocations: 297 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4739, allocations: 3.938 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4739, allocations: 0 / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4739, allocations: 0 / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.4741, allocations: 181.6 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4741, allocations: 4 kB / 0.7737 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.4742, allocations: 12 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4742, allocations: 3.938 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4742, allocations: 4 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4742, allocations: 4 kB / 0.7737 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4742, allocations: 0 / 0.7737 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.4744, allocations: 109 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.4744, allocations: 88.95 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4745, allocations: 4 kB / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.4745, allocations: 0 / 0.7739 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.4746, allocations: 15.95 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4746, allocations: 8 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.4746, allocations: 87.27 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4746, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003854/0.475, allocations: 108 kB / 0.7741 GB, free: 12.36 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.0005392/0.4756, allocations: 243.1 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.4757, allocations: 51.91 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4758, allocations: 0 / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.4758, allocations: 31.97 kB / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.476, allocations: 16.73 kB / 0.7745 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.4765, allocations: 184.4 kB / 0.7746 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.4768, allocations: 0.6924 MB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.4769, allocations: 15.44 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4769, allocations: 3.938 kB / 0.7753 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Templates: time 0.005784/0.4827, allocations: 2.793 MB / 0.7781 GB, free: 8.301 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)