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.001508/0.001508, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.00157/0.00157, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.368/1.368, 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.002267/0.002267, allocations: 293.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9748/0.9748, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 99.84 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4692, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001699/0.4709, allocations: 0.5699 MB / 0.7677 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.473, allocations: 1.605 MB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.473, allocations: 4 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.473, allocations: 0 / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.4731, allocations: 0 / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.4737, allocations: 199.4 kB / 0.7694 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.4738, allocations: 19.98 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.4739, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.4739, allocations: 15.92 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.4739, allocations: 11.98 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4739, allocations: 4 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.4744, allocations: 275.5 kB / 0.7697 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.4745, allocations: 8 kB / 0.7697 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.4745, allocations: 7.875 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.4747, allocations: 167.7 kB / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4748, allocations: 0 / 0.7699 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4748, allocations: 3.938 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.4748, allocations: 0 / 0.7699 GB, free: 0.9844 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.0003656/0.4751, allocations: 375 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.4752, allocations: 8.031 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007845/0.476, allocations: 72.77 kB / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.4761, allocations: 168.3 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4761, allocations: 4.375 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4761, allocations: 4.375 kB / 0.7705 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4763, allocations: 85.91 kB / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4763, allocations: 0 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4764, allocations: 0 / 0.7706 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.4764, allocations: 4 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.4766, allocations: 79.88 kB / 0.7707 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.4768, allocations: 180.3 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.477, allocations: 90.52 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.477, allocations: 44.94 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4771, allocations: 0 / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4771, allocations: 38.5 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4771, allocations: 0 / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003187/0.4774, allocations: 141.5 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4775, allocations: 55.39 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.4775, allocations: 105.9 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4776, allocations: 25.7 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.4776, allocations: 92.08 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.4777, allocations: 11.8 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.4777, allocations: 33.62 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4778, allocations: 314.8 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.4779, allocations: 31.91 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.478, allocations: 31.97 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4781, allocations: 80.8 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4781, allocations: 0 / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.4783, allocations: 105.6 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4783, allocations: 11.92 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4783, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4784, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.4785, allocations: 23.91 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4786, allocations: 0 / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.4787, allocations: 15.84 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4787, allocations: 3.984 kB / 0.7721 GB, free: 14.57 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.083e-05/0.4788, allocations: 113.8 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.4788, allocations: 7.938 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.4792, allocations: 213 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4792, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4792, allocations: 0.6875 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4792, allocations: 3.984 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4794, allocations: 213.5 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4794, allocations: 7.938 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.4796, allocations: 27.98 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.4796, allocations: 11.92 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4796, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4796, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4796, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.4799, allocations: 200 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.48, allocations: 88.89 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.48, allocations: 11.98 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4801, allocations: 4 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.4801, allocations: 7.984 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4801, allocations: 7.938 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.4802, allocations: 87.28 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4802, allocations: 0 / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003039/0.4805, allocations: 67.98 kB / 0.7731 GB, free: 13.42 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.000356/0.4809, allocations: 183.2 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.4811, allocations: 103.9 kB / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4811, allocations: 0 / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.4812, allocations: 75.91 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.4814, allocations: 8 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.4818, allocations: 238.4 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.482, allocations: 0.6983 MB / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.4821, allocations: 19.36 kB / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4821, allocations: 0 / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Templates: time 0.00394/0.4861, allocations: 2.274 MB / 0.7766 GB, free: 9.785 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)